generated from CC/VMServiceTemplate
ci/cd ansible rsync
All checks were successful
Deploy VM and App / terraform-ansible-deploy (push) Successful in 1m20s
All checks were successful
Deploy VM and App / terraform-ansible-deploy (push) Successful in 1m20s
This commit is contained in:
@@ -46,7 +46,7 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y ansible
|
||||
sudo apt-get install -y ansible rsync
|
||||
|
||||
- name: Set up SSH
|
||||
run: |
|
||||
@@ -59,15 +59,6 @@ jobs:
|
||||
UserKnownHostsFile=/dev/null
|
||||
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
|
||||
run: |
|
||||
ansible-playbook ansible/playbooks/docker_copy.yml -i ansible/inventory/inventory.yml -u cloud --private-key ~/.ssh/vlans_rsa
|
||||
|
||||
Reference in New Issue
Block a user