Skip to content
Snippets Groups Projects
Unverified Commit 7846d4ec authored by Mark Goddard's avatar Mark Goddard Committed by GitHub
Browse files

Merge pull request #107 from diranetafen/fix_ipa_image_copy

Fix copy image ipa on seed
parents 80c4d9fd af0372fc
No related branches found
No related tags found
No related merge requests found
......@@ -35,18 +35,15 @@
dest: "/etc/kolla/bifrost/{{ item }}"
remote_src: True
with_items: "{{ ipa_images }}"
notify:
- Copy Ironic Python Agent images into /httpboot
become: True
when: ipa_build_images | bool
handlers:
- name: Copy Ironic Python Agent images into /httpboot
command: >
docker exec bifrost_deploy
bash -c 'source /bifrost/env-vars &&
ansible -vvvv target -i /bifrost/playbooks/inventory/target
-m copy
-a "src=/etc/bifrost/{{ item }} dest=/httpboot/{{ item }}"
-e "ansible_python_interpreter=/var/lib/kolla/venv/bin/python"'
with_items: "{{ ipa_images }}"
- name: Copy Ironic Python Agent images into /httpboot
command: >
docker exec bifrost_deploy
bash -c 'source /bifrost/env-vars &&
ansible -vvvv target -i /bifrost/playbooks/inventory/target
-m copy
-a "src=/etc/bifrost/{{ item }} dest=/httpboot/{{ item }}"
-e "ansible_python_interpreter=/var/lib/kolla/venv/bin/python"'
with_items: "{{ ipa_images }}"
when: ipa_build_images | bool
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment