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
|
desc: Uninstall Kubernetes on the nodes
|
||||||
dir: "{{.ANSIBLE_DIR}}"
|
dir: "{{.ANSIBLE_DIR}}"
|
||||||
interactive: true
|
interactive: true
|
||||||
cmds:
|
cmd: ansible-playbook -i {{.ANSIBLE_INVENTORY_DIR}}/hosts.yaml {{.ANSIBLE_PLAYBOOK_DIR}}/cluster-nuke.yaml
|
||||||
- ansible-playbook -i {{.ANSIBLE_INVENTORY_DIR}}/hosts.yaml {{.ANSIBLE_PLAYBOOK_DIR}}/cluster-nuke.yaml
|
|
||||||
- task: force-reboot
|
|
||||||
env:
|
env:
|
||||||
ANSIBLE_CONFIG: "{{.ANSIBLE_DIR}}/ansible.cfg"
|
ANSIBLE_CONFIG: "{{.ANSIBLE_DIR}}/ansible.cfg"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user