A Wonderful world with ansible

1 minute read Published:

Ansible is a beautiful tool to help you manage a lot of linux server.

It follows the philosophy that orchestrating servers should be dead simple rather than complex as writing software.

Here some quick and simple use for ansible

update apt cache and install python-requests:

ansible all -u myuser -s -m apt -a "pkg=python-requests state=installed update_cache=yes"

copy /tmp/myfile to any host :

ansible all -u myuser -s -m copy -a "src=/tmp/myfile dest=/tmp/"

Of course things can be made a bit more complex depending your usage