Ansible introduction

Ansible introduction Modules Command module: Takes the command and executes it Shell module: Executes through a shell like /bin/sh Script module: Runs a local script on a remote node after transferring it. raw: executes a ssh command. useful for installation python3 Adhoc commands Examples: ansible all - ping ansible web -m command -a “uptime” ansible localhost -m setup Static inventory Sample inventory: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [control] control ansible_host=10....