Use inventory from split Ansible repository
Some checks failed
Ansible Deploy / deploy (push) Failing after 1m0s
Some checks failed
Ansible Deploy / deploy (push) Failing after 1m0s
This commit is contained in:
@@ -26,6 +26,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|
||||||
|
- name: Checkout Ansible inventory
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: shmick/ansible
|
||||||
|
ref: main # Replace with the branch or tag you want to check out
|
||||||
|
token: ${{ secrets.ANSIBLE_TOKEN }}
|
||||||
|
|
||||||
- name: Run Ansible Playbook
|
- name: Run Ansible Playbook
|
||||||
run: |
|
run: |
|
||||||
ansible-playbook -i inventory.yaml -e 'ANSIBLE_SUDO_PASS="${{ secrets.SUDO_PASS }}" SKOPEO_PASS="${{ secrets.SKOPEO_PASS }}"' hatarashi-hako.yaml -vv
|
ansible-playbook -i ansible/inventory.yaml -e 'ANSIBLE_SUDO_PASS="${{ secrets.SUDO_PASS }}" SKOPEO_PASS="${{ secrets.SKOPEO_PASS }}"' hatarashi-hako.yaml -vv
|
||||||
|
|||||||
Reference in New Issue
Block a user