Ansible/scripts/ansiblepull.sh
James Tombleson c82c6eb42d Updated cfg and added a ansible-pull script
cfg now knows the default location to look for the inventory.  Should have made that change long ago.
Added a script to add all of my ansible-pull commands incase they need to be added back in to a new host.
2019-05-03 08:23:42 -07:00

12 lines
382 B
Bash

# Script file to enable all of my ansible-pull commands.
# Used for documentation and rebuilding if needed
# Notes
# -o command will only run the playbook when changes take place.
$REPO = 'https://github.com/luther38/ansible.git'
# This pb will tell all linux hosts to configure auto install of security updates
ansible-pull -U REPO -o playbook/linux/auto-securityupdates.yml