summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2024-04-06 08:52:30 +0200
committerPatrick Spek <p.spek@tyil.nl>2024-04-06 08:52:30 +0200
commit0b11e1fd137a2bae9385a8ed272593994012c4dc (patch)
treecb49ee5a56268a000a0619b8b88518514024d2e7
parent2206f80f643e29d4360b8236bc44b4a6b5750a9d (diff)
Don't forget to redirect
-rw-r--r--playbooks.d/k3s-node/playbook.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks.d/k3s-node/playbook.bash b/playbooks.d/k3s-node/playbook.bash
index d5b9a76..c2228ae 100644
--- a/playbooks.d/k3s-node/playbook.bash
+++ b/playbooks.d/k3s-node/playbook.bash
@@ -34,7 +34,7 @@ playbook_add() {
then
printf "%s: %s\n" "node-external-ip" "$(config "$BASHTARD_PLAYBOOK.external-ip" "")"
fi
- } "$(config "fs.etcdir")/rancher/k3s/config.yaml"
+ } > "$(config "fs.etcdir")/rancher/k3s/config.yaml"
if [[ "$role" == "server" ]]
then