Actually fail the secret-file role if another one already existed for now
This role needs to be fixed to actually apply changes, so whomever sees this gets the fun of fixing this. Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
5ceddcf683
commit
7deedf5d7e
1 changed files with 0 additions and 1 deletions
|
@ -16,5 +16,4 @@
|
|||
- name: Call `oc secrets new` on the copied file
|
||||
shell: oc -n {{app}} secrets new {{secret_name}} {{key}}=/etc/openshift_apps/{{app}}/{{key}}
|
||||
register: create_out
|
||||
failed_when: "create_out.rc != 0 and 'AlreadyExists' not in create_out.stderr"
|
||||
when: secret_template.changed or secret_file.changed or secret_privatefile.changed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue