From e6b9249556641eb00f786765140b49115abe81df Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Thu, 16 Feb 2017 18:31:15 +0000 Subject: [PATCH] Use correct inventory file for Bifrost Bifrost now targets the play in the install.yml playbook at the target Ansible group instead of localhost. This change uses the target inventory file to pick up this group and avoid a 'noop' playbook. Change-Id: I850993c9d824b59cfb1eec0d8286098d021d4d5f Closes-Bug: #1665415 --- ansible/roles/bifrost/tasks/bootstrap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/bifrost/tasks/bootstrap.yml b/ansible/roles/bifrost/tasks/bootstrap.yml index 9da2953da4..f31839082e 100644 --- a/ansible/roles/bifrost/tasks/bootstrap.yml +++ b/ansible/roles/bifrost/tasks/bootstrap.yml @@ -4,7 +4,7 @@ docker exec bifrost_deploy bash -c '/bifrost/scripts/env-setup.sh && source /bifrost/env-vars && cp /etc/bifrost/rabbitmq-env.conf /etc/rabbitmq/rabbitmq-env.conf && - ansible-playbook -vvvv -i /bifrost/playbooks/inventory/localhost + ansible-playbook -vvvv -i /bifrost/playbooks/inventory/target /bifrost/playbooks/install.yaml -e @/etc/bifrost/bifrost.yml -e @/etc/bifrost/dib.yml -e skip_package_install=true'