This commit is contained in:
@@ -26,6 +26,12 @@ jobs:
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
|
||||
- name: Checkout Ansible inventory
|
||||
run: |
|
||||
INVENTORY_URL="https://my-user:${{ secrets.ANSIBLE_TOKEN }}@my.git.instance/my-user/ansible/raw/branch/main/inventory.yaml"
|
||||
curl -o inventory.yaml $INVENTORY_URL
|
||||
cat inventory.yaml
|
||||
|
||||
- name: Run Ansible Playbook
|
||||
run: |
|
||||
ansible-playbook -i 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