Install standalone ansible roles
Similar to how we install puppet modules from standalone repos, start using the ansible-galaxy command to install roles from standalone role repos. Change-Id: Iae7d8e4626479e565bc194496de289027a4668ed Depends-On: I76d5cab55942beaff44ea5f289f93ff6ce772c5f
This commit is contained in:
parent
633420931b
commit
b7cfc00620
4
roles.yml
Normal file
4
roles.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
- src: git+git://git.openstack.org/openstack-infra/ansible-puppet.git
|
||||||
|
version: HEAD
|
||||||
|
name: puppet
|
@ -22,6 +22,7 @@ set -e
|
|||||||
cd /opt/system-config/production
|
cd /opt/system-config/production
|
||||||
git fetch -a && git reset -q --hard @{u}
|
git fetch -a && git reset -q --hard @{u}
|
||||||
./install_modules.sh
|
./install_modules.sh
|
||||||
|
ansible-galaxy install -r roles.yml
|
||||||
|
|
||||||
# One must touch manifests/site.pp to trick puppet into re-loading modules
|
# One must touch manifests/site.pp to trick puppet into re-loading modules
|
||||||
# some times
|
# some times
|
||||||
|
Loading…
Reference in New Issue
Block a user