Create an inventory file and simply call play.yml
using ansible-playbook! Ideally use a tool like cron or awx to automate this process often.
To run the playbook, simply call ansible-playbook like so:
ansible-playbook -i inventory play.yml
Create an inventory file and simply call play.yml
using ansible-playbook! Ideally use a tool like cron or awx to automate this process often.
To run the playbook, simply call ansible-playbook like so:
ansible-playbook -i inventory play.yml