Add failed_when to deploy calico operator

This commit is contained in:
Ruakij 2023-04-14 10:01:42 +02:00
parent f50e3ac33c
commit a92409c56f

View File

@ -3,6 +3,8 @@
register: command
changed_when: "'created' in command.stdout"
run_once: true
failed_when:
- "command.rc == 1 and 'AlreadyExists' not in command.stderr"
- name: Deploy calico ressource template
ansible.builtin.template: