From 39e48f2cf9380144e1d12bf3738752f9f0cce9ce Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Thu, 16 Feb 2017 17:52:55 +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: I1b351ccfea5684aeb1394e5a12ee848eb62447fe Closes-Bug: #1665413 --- docker/bifrost/bifrost-base/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/bifrost/bifrost-base/Dockerfile.j2 b/docker/bifrost/bifrost-base/Dockerfile.j2 index 796b063189..2ab693e01f 100644 --- a/docker/bifrost/bifrost-base/Dockerfile.j2 +++ b/docker/bifrost/bifrost-base/Dockerfile.j2 @@ -27,7 +27,7 @@ RUN sed -e "s/.*mariadb.*//Ig" -i /etc/apt/sources.list && apt-get purge -y mari {% endif %} RUN bash -c './scripts/env-setup.sh && source ./env-vars && \ - ansible-playbook -vvvv -i /bifrost/playbooks/inventory/localhost /bifrost/playbooks/install.yaml \ + ansible-playbook -vvvv -i /bifrost/playbooks/inventory/target /bifrost/playbooks/install.yaml \ -e @/tmp/build_arg.yml && \ {% if base_distro in ['ubuntu', 'debian'] %} apt-get clean'