diff --git a/kubernetes/tasks/install/server/network-plugin/deploy_calico.yml b/kubernetes/tasks/install/server/network-plugin/deploy_calico.yml index 7cd2955..8c8a802 100644 --- a/kubernetes/tasks/install/server/network-plugin/deploy_calico.yml +++ b/kubernetes/tasks/install/server/network-plugin/deploy_calico.yml @@ -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: