parent
e8b79e8c66
commit
2c28942ff8
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user