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
This commit is contained in:
parent
16f2c199f1
commit
39e48f2cf9
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user