fix: do not reboot twice when using taskfile to nuke
This commit is contained in:
1 parent
07eb228b34
commit
2f4b59c8aa
1 file changed
+1
-3
@@ -62,9 +62,7 @@ tasks:
|
||||
desc: Uninstall Kubernetes on the nodes
|
||||
dir: "{{.ANSIBLE_DIR}}"
|
||||
interactive: true
|
||||
cmds:
|
||||
- ansible-playbook -i {{.ANSIBLE_INVENTORY_DIR}}/hosts.yaml {{.ANSIBLE_PLAYBOOK_DIR}}/cluster-nuke.yaml
|
||||
- task: force-reboot
|
||||
cmd: ansible-playbook -i {{.ANSIBLE_INVENTORY_DIR}}/hosts.yaml {{.ANSIBLE_PLAYBOOK_DIR}}/cluster-nuke.yaml
|
||||
env:
|
||||
ANSIBLE_CONFIG: "{{.ANSIBLE_DIR}}/ansible.cfg"
|
||||
|
||||
|
||||
Reference in new issue
Block a user