1eee1c17a4
This variable must be executable, so using True won't work. Since true is the default in finalise-tinyipa, remove the explicit setting from the role. Also remove this variable from build-tinyipa since it's not used there and update the documentation accordingly. Change-Id: Ibe744121b863ef1265e5e3ead7ab13fef0855fc6
23 lines
654 B
YAML
23 lines
654 B
YAML
- name: Build a TinyIPA image
|
|
command: make
|
|
args:
|
|
chdir: '{{ tinyipa_dir }}'
|
|
environment:
|
|
BRANCH_PATH: '{{ ipa_branch_path }}'
|
|
IPA_SOURCE_DIR: '{{ ansible_user_dir }}/src/opendev.org/openstack/ironic-python-agent'
|
|
|
|
- name: Move resulting files
|
|
shell: |
|
|
mv tinyipa*.tar.gz* "{{ ipa_tar_dir }}"
|
|
mv tinyipa*.* "{{ ipa_raw_dir }}"
|
|
mv tiny-instance-uec*.tar.gz "{{ ipa_tar_dir }}"
|
|
args:
|
|
chdir: '{{ tinyipa_dir }}'
|
|
|
|
# NOTE(sambetts) Must clean up chroot directories before
|
|
# publisher rsync command tries and fails to read them
|
|
- name: Clean up the environment
|
|
command: make clean
|
|
args:
|
|
chdir: '{{ tinyipa_dir }}'
|