Without an agent on target host, Ansible is able to perform tasks like for example: adding a user(-m user
).
Here are the list of all modules
To understand this, I read this article, which says:
“Ansible works by connecting to your nodes and pushing out small programs, called “Ansible modules” to them. These programs are written to be resource models of the desired state of the system.”
Hi ,
I'm pretty new with ansible but you can read on ansible website that
ansible requires python to be installed on the remote hosts though
should work using the raw module which sends commands through ssh.
Check Ansible - Command vs Shell vs Raw Modules - UnixArena
To be more precise I attach this very verbose[ ansible output while
changing passwords for one user on two hosts. You can see there how
ansible works behind the scene
BR
(attachments)
ansible.log (165 KB)