ansible-role-k3s/tasks/validate
Jairo Llopis 142b40f428
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"
}
```
2021-07-21 12:56:09 +01:00
..
configuration fix: do ignore etcd member count when uninstalling 2021-07-21 12:56:09 +01:00
environment Update test sequence for check mode, fixed check mode on cgroup test 2021-04-18 20:39:06 +01:00
state Updated command modules to use cmd argument 2021-04-10 12:31:18 +01:00
main.yml Pre-documentation work 2021-02-16 16:53:49 +00:00
post-install.yml Tiidy up and refactoring of tasks (#80) 2020-12-21 19:14:52 +00:00
pre-flight.yml Add cgroup checks 2021-04-03 20:42:44 +01:00