Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion reproducer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,7 @@
poll: 20
delegate_to: controller-0
ansible.builtin.command:
cmd: "$HOME/post_deployment.sh {{ cifmw_post_deploy_args | default('') }}"
cmd: >-
$HOME/post_deployment.sh
{{ cifmw_post_deploy_args | default('') }}
{{ cifmw_post_deploy_extra_args | default('') }}
14 changes: 14 additions & 0 deletions roles/reproducer/tasks/premetal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,17 @@
ansible.builtin.debug:
msg: >
Current cifmw_deploy_architecture_args {{ cifmw_deploy_architecture_args | default('') }}

- name: Pass extra variable files to post-deployment script
ansible.builtin.set_fact:
cifmw_post_deploy_extra_args: >
{{ cifmw_post_deploy_extra_args | default('') }}
-e @{{ extra_variable_file }}
loop: "{{ cifmw_post_deploy_extra_variable_files | default([]) }}"
loop_control:
loop_var: extra_variable_file

- name: Print final cifmw_post_deploy_extra_args
ansible.builtin.debug:
msg: >
Current cifmw_post_deploy_extra_args {{ cifmw_post_deploy_extra_args | default('') }}
Loading