mirror of
https://github.com/openshift/openshift-ansible-contrib.git
synced 2026-02-05 09:45:58 +01:00
Fix to ami fail task condition
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
debug:
|
||||
msg: "{{ notice.split('\n') }}"
|
||||
when: ec2ami_unformatted.changed
|
||||
failed_when: "'ami-' not in ec2ami.stdout"
|
||||
failed_when: ( ec2ami.stdout == "" ) or ( "'ami-' not in ec2ami.stdout" )
|
||||
|
||||
- name: 'Set fact: ec2ami'
|
||||
set_fact:
|
||||
|
||||
Reference in New Issue
Block a user