Repo
https://gitlab.com/modle13/ansible-test
no cows
set nocows=1
because cows are annoying
inventory
https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html
example
|
|
config
Changes can be made and used in a configuration file which will be searched for in the following order:
1 2 3 4
ANSIBLE_CONFIG (environment variable if set) ansible.cfg (in the current directory) ~/.ansible.cfg (in the home directory) /etc/ansible/ansible.cfg
Ansible will process the above list and use the first file found, all others are ignored.
passwordless sudo
https://code-maven.com/enable-ansible-passwordless-sudo
playbooks
https://docs.ansible.com/ansible/2.7/user_guide/playbooks_intro.html#basics
debug - print statements
https://docs.ansible.com/ansible/devel/modules/debug_module.html