Fix copy image ipa on seed
This commit is contained in:
parent
80c4d9fd9d
commit
af0372fcc8
@ -35,18 +35,15 @@
|
|||||||
dest: "/etc/kolla/bifrost/{{ item }}"
|
dest: "/etc/kolla/bifrost/{{ item }}"
|
||||||
remote_src: True
|
remote_src: True
|
||||||
with_items: "{{ ipa_images }}"
|
with_items: "{{ ipa_images }}"
|
||||||
notify:
|
|
||||||
- Copy Ironic Python Agent images into /httpboot
|
|
||||||
become: True
|
become: True
|
||||||
when: ipa_build_images | bool
|
|
||||||
|
|
||||||
handlers:
|
- name: Copy Ironic Python Agent images into /httpboot
|
||||||
- name: Copy Ironic Python Agent images into /httpboot
|
command: >
|
||||||
command: >
|
docker exec bifrost_deploy
|
||||||
docker exec bifrost_deploy
|
bash -c 'source /bifrost/env-vars &&
|
||||||
bash -c 'source /bifrost/env-vars &&
|
ansible -vvvv target -i /bifrost/playbooks/inventory/target
|
||||||
ansible -vvvv target -i /bifrost/playbooks/inventory/target
|
-m copy
|
||||||
-m copy
|
-a "src=/etc/bifrost/{{ item }} dest=/httpboot/{{ item }}"
|
||||||
-a "src=/etc/bifrost/{{ item }} dest=/httpboot/{{ item }}"
|
-e "ansible_python_interpreter=/var/lib/kolla/venv/bin/python"'
|
||||||
-e "ansible_python_interpreter=/var/lib/kolla/venv/bin/python"'
|
with_items: "{{ ipa_images }}"
|
||||||
with_items: "{{ ipa_images }}"
|
when: ipa_build_images | bool
|
||||||
|
Loading…
Reference in New Issue
Block a user