ansible-role-k3s/tasks/teardown
AnJia 91d456ccad
fixed kubectl_get_nodes_result.stdout error
os ubuntu  amd64 16.04 LTS
ansible 2.9.20
python version 2.7

```
 FAILED! => {"msg": "The conditional check 'item in kubectl_get_nodes_result.stdout' failed. The error was: error while evaluating conditional (item in kubectl_get_nodes_result.stdout): 'dict object' has no attribute 'stdout'\n\nThe error appears to be in '/home/rancher/.ansible/roles/xanmanning.k3s/tasks/teardown/drain-and-remove-nodes.yml': line 39, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: Ensure uninstalled nodes are removed\n      ^ here\n"}

```
2021-04-30 14:31:33 +08:00
..
docker Updated command modules to use cmd argument 2021-04-10 12:31:18 +01:00
drain-and-remove-nodes.yml fixed kubectl_get_nodes_result.stdout error 2021-04-30 14:31:33 +08:00
uninstall-k3s.yml Updated command modules to use cmd argument 2021-04-10 12:31:18 +01:00