diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2fb6e37..f7b0c56 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,7 @@ jobs: - name: Install ansible run: apt-get update && apt-get install ansible-core -y - name: Create ssh key file - run: echo -n ${{secrets.ANSIBLE_SSH_KEY}} > key + run: echo -n "${{secrets.ANSIBLE_SSH_KEY}}" > key - name: Run ansible playbook run: export user="ansible"; ansible-playbook -u "${user}" --ssh-common-args "-o ProxyCommand='ssh -p 22 -W %h:%p -q ${user}@bastion.cuqmbr.home'" --private-key key -b --become-method doas -i ./homelab/ansible/inventories/dev/hosts.yml ./homelab/ansible/00_init.yml # - name: Run ansible playbook