Need to force ansible role installs

Ansible galaxy will not overwrite a role that already exists by default.
To keep our ansible puppet role up to date force its installation.

Change-Id: I75eda8600f666895f9be8711d089615e57b3f3c5
This commit is contained in:
Clark Boylan 2015-03-03 17:20:25 -08:00
parent ac7a36db8a
commit e13b91ee03

View File

@ -23,7 +23,7 @@ export ANSIBLE_LOG_PATH=/var/log/puppet_run_all.log
cd /opt/system-config/production
git fetch -a && git reset -q --hard @{u}
./install_modules.sh
ansible-galaxy install -r roles.yaml
ansible-galaxy install --force -r roles.yaml
# One must touch manifests/site.pp to trick puppet into re-loading modules
# some times