ansible - RicoJia/notes GitHub Wiki
-
become
means sudo on target machine -
Hosts
: inidividual machines.- inventory: the hosts file
hosts.ini
, where you specify groups, hosts, etc.
- inventory: the hosts file
-
group var
: var applied to all members of the group - host vars: vars apply to a specific host
- deployment:
ansible-playbook -i hosts.ini configure_base.yml