cli: add name to master subs
This commit is contained in:
@@ -56,6 +56,12 @@
|
||||
cmd: "ioc install -V --facility sls --ioc AGEBD-CPCL-{{ service_name_upper }}{{ env_suffix_upper }} --clean"
|
||||
chdir: "{{ ioc_base_dir }}"
|
||||
changed_when: true
|
||||
# Force a pipeline failure if the command output contains error keywords
|
||||
# (ioc install ... returns exit code 0 even on failure...)
|
||||
failed_when: >
|
||||
ioc_install_result.rc != 0 or
|
||||
"[error]" in ioc_install_result.stderr or
|
||||
"Unable to write" in ioc_install_result.stderr
|
||||
|
||||
- name: "[{{ service_dir_name }}] Restart IOC"
|
||||
ansible.builtin.shell:
|
||||
|
||||
Reference in New Issue
Block a user