ci/cd ansible rsync
All checks were successful
Deploy VM and App / terraform-ansible-deploy (push) Successful in 1m20s

This commit is contained in:
CC
2026-05-22 21:54:02 +01:00
parent 8518bd6064
commit 92f9bd459d

View File

@@ -46,7 +46,7 @@ jobs:
shell: bash shell: bash
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y ansible sudo apt-get install -y ansible rsync
- name: Set up SSH - name: Set up SSH
run: | run: |
@@ -59,15 +59,6 @@ jobs:
UserKnownHostsFile=/dev/null UserKnownHostsFile=/dev/null
EOF EOF
- name: Ansible Inventory YML
run: |
ls
echo "ansible folder"
ls ansible
echo "inventory folder"
ls ansible/inventory
#cat ansible/inventory/inventory.yml
- name: Run playbook - name: Run playbook
run: | run: |
ansible-playbook ansible/playbooks/docker_copy.yml -i ansible/inventory/inventory.yml -u cloud --private-key ~/.ssh/vlans_rsa ansible-playbook ansible/playbooks/docker_copy.yml -i ansible/inventory/inventory.yml -u cloud --private-key ~/.ssh/vlans_rsa