Additional checks for ansible dry-run (--check) mode
This commit is contained in:
parent
e41e67ea1d
commit
d79e50d003
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@
|
||||||
no_log: true
|
no_log: true
|
||||||
changed_when: false
|
changed_when: false
|
||||||
check_mode: no
|
check_mode: no
|
||||||
|
ignore_errors: "{{ ansible_check_mode }}"
|
||||||
when: inventory_hostname in groups['kube-node'] and
|
when: inventory_hostname in groups['kube-node'] and
|
||||||
sync_certs|default(false) and
|
sync_certs|default(false) and
|
||||||
inventory_hostname != groups['kube-master'][0]
|
inventory_hostname != groups['kube-master'][0]
|
||||||
|
|
Loading…
Reference in a new issue