aboutsummaryrefslogtreecommitdiff
path: root/docker/bifrost
diff options
context:
space:
mode:
authorMark Goddard <mark@stackhpc.com>2017-02-16 17:52:55 +0000
committerMark Goddard <mark@stackhpc.com>2017-02-16 18:33:31 +0000
commit39e48f2cf9380144e1d12bf3738752f9f0cce9ce (patch)
tree83655d47cd50fcae0e2676250306166b230c1ab6 /docker/bifrost
parent16f2c199f1fc945ec0f83520efa865d4189ce223 (diff)
downloadkolla-39e48f2cf9380144e1d12bf3738752f9f0cce9ce.tar.gz
kolla-39e48f2cf9380144e1d12bf3738752f9f0cce9ce.zip
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
Diffstat (limited to 'docker/bifrost')
-rw-r--r--docker/bifrost/bifrost-base/Dockerfile.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/bifrost/bifrost-base/Dockerfile.j2 b/docker/bifrost/bifrost-base/Dockerfile.j2
index 796b06318..2ab693e01 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'