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.
This commit is contained in:
parent
b72ee6c6d1
commit
c82c6eb42d
@ -11,7 +11,7 @@
|
||||
|
||||
# some basic default values...
|
||||
|
||||
inventory = ~/.ansible/hosts
|
||||
inventory = ~/hosts
|
||||
library = /usr/share/my_modules/
|
||||
module_utils = /usr/share/my_module_utils/
|
||||
remote_tmp = ~/.ansible/tmp
|
||||
|
11
scripts/ansiblepull.sh
Normal file
11
scripts/ansiblepull.sh
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
# 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
|
Loading…
Reference in New Issue
Block a user