Skip to content

Latest commit

 

History

History
22 lines (21 loc) · 841 Bytes

notes.md

File metadata and controls

22 lines (21 loc) · 841 Bytes

Using a host file instead of the /etc/ansible/hosts file, list entries in the given host file

ansible-inventory \
--inventory hosts.yml \
--list

Using ansible-pull, repo should have a local.yml file that will immediately be run

sudo ansible-pull \
--only-if-changed \
--url https://github.com/micheleangelofabbri/ansible-test /sub_dir/local.yml

Ansible documentation: