mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-11-05 05:13:29 +01:00
fix: do ignore etcd member count when uninstalling
Otherwise, when completely uninstalling the etcd-enabled cluster, it fails with: ``` TASK [xanmanning.k3s : Check the conditions when embedded etcd is defined] *************************************** fatal: [vm0]: FAILED! => { "assertion": "(((k3s_controller_list | length) % 2) == 1)", "changed": false, "evaluated_to": false, "msg": "Etcd should have a minimum of 3 defined members and the number of members should be odd. Please see notes about HA in README.md" } fatal: [vm1]: FAILED! => { "assertion": "(((k3s_controller_list | length) % 2) == 1)", "changed": false, "evaluated_to": false, "msg": "Etcd should have a minimum of 3 defined members and the number of members should be odd. Please see notes about HA in README.md" } fatal: [vm2]: FAILED! => { "assertion": "(((k3s_controller_list | length) % 2) == 1)", "changed": false, "evaluated_to": false, "msg": "Etcd should have a minimum of 3 defined members and the number of members should be odd. Please see notes about HA in README.md" } ```
This commit is contained in:
parent
0c084531d2
commit
142b40f428
1 changed files with 1 additions and 0 deletions
|
@ -43,3 +43,4 @@
|
|||
- k3s_etcd_datastore
|
||||
- not k3s_use_unsupported_config
|
||||
- k3s_control_node
|
||||
- k3s_state != 'uninstalled'
|
||||
|
|
Loading…
Reference in a new issue