tag: ansible

Ansible 101 by trishnag

6 Feb, 2019 - 1 minutes
We had an introductory session on Ansible in #dgplug and these are some notes from the class. Learned about hosts file to create an inventory, https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html#hosts-and-groups Different connections (ssh and local for now). I had also tested it against a server running CentOS. We then went on to create an ansible.cfg file in the demo directory which takes precedence over the global configuration. Learned to write a basic playbook which is a YAML file.