Add an Gitea Action for Deploying Ansible Playbooks #1

Merged
BenHays42 merged 12 commits from ansible-deploy-action into main 2024-10-13 01:42:00 +00:00
Showing only changes of commit 39f57473f6 - Show all commits

View File

@ -29,7 +29,8 @@ jobs:
run: | run: |
apt update -y apt update -y
apt install python3-pip -y apt install python3-pip -y
python3 -m pip install ansible python3 -m pip install ansible
echo '${{secrets.BECOME_PASSWORD}}' > ./.become_pass
#- name: Install Ansible Galaxy requirements #- name: Install Ansible Galaxy requirements
# run: | # run: |
@ -47,4 +48,4 @@ jobs:
options: | options: |
--inventory Ansible/inventory.ini --inventory Ansible/inventory.ini
--extra-vars "@Ansible/homelab-vault/secrets.yml" --become-pass-file ./.become_pass