diff options
author | Patrick Spek <p.spek@tyil.nl> | 2022-07-25 15:51:56 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2022-07-25 15:51:56 +0200 |
commit | 3f893c13cc7b756b89541c332207669a980c9544 (patch) | |
tree | e70124db220efc7a7dc08f4b419029e1b19db640 | |
parent | c68cf1d4830eba09feb2d10913ed31a1f8ae62fe (diff) |
Add logging to playbook_add
-rw-r--r-- | playbooks.d/k3s/playbook.bash | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/playbooks.d/k3s/playbook.bash b/playbooks.d/k3s/playbook.bash index 60d6eba..518b734 100644 --- a/playbooks.d/k3s/playbook.bash +++ b/playbooks.d/k3s/playbook.bash @@ -3,6 +3,7 @@ playbook_add() { pkg install k3s + info "$BASHTARD_PLAYBOOK" "Writing config.yaml for k3s" mkdir -pv -- /etc/rancher/k3s cat <<-EOF > /etc/rancher/k3s/config.yaml node-name: ${BASHTARD_PLATFORM[fqdn]} @@ -16,10 +17,10 @@ playbook_add() { - traefik EOF - # Install k3s + info "$BASHTARD_PLAYBOOK" "Installing k3s" curl -sfL https://get.k3s.io | sh - # I hate this - # Install ArgoCD + info "$BASHTARD_PLAYBOOK" "Installing ArgoCD on k3s" k3s kubectl create namespace argocd k3s kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml } |