Ansible, a quickstart

So I have to learn Ansible, cool

Simple steps

  • Install it on local machine, on arch yaourt -S ansible – on the server nothing is needed but openssh and python2
  • Make sure your remote server(s) has/ve openssh running and configured with your pubkey in the authorized_keys file
  • Create an inventory file in /etc/ansible/hosts ( a list of hosts both dns names and IPs are allowed) and make sure in ansible.cfg everything is “nice”
  • Check if it works issuing
ansible all -m ping

  • ┬áNow cry learning playbooks
  • Just kidding, just complex, once in the mood it’s easy
Tags// , ,
More Reading
Older// Dmidecode