fix: apply-config task node arg order

This commit is contained in:
Devin Buhl authored and GitHub committed 2024-10-30 12:54:07 -04:00
1 parent f7274e4ccc
commit e55ae1a1f5
1 file changed
+1 -1
+1 -1
View File
@@ -27,7 +27,7 @@ tasks:
apply-config:
desc: Apply Talos configuration to a node
cmds:
- talosctl apply-config --mode=staged --nodes {{.HOSTNAME}} --file {{.TALHELPER_CLUSTER_DIR}}/{{.CLUSTER_NAME}}-{{.HOSTNAME}}.yaml
- talosctl --nodes {{.HOSTNAME}} apply-config --mode=staged --file {{.TALHELPER_CLUSTER_DIR}}/{{.CLUSTER_NAME}}-{{.HOSTNAME}}.yaml
- talosctl --nodes {{.HOSTNAME}} reboot
- talosctl --nodes {{.HOSTNAME}} health --wait-timeout=10m --server=false
vars: