Add an Gitea Action for Deploying Ansible Playbooks #1
@ -30,6 +30,7 @@ jobs:
|
||||
apt update -y
|
||||
apt install python3-pip -y
|
||||
python3 -m pip install ansible
|
||||
echo '${{secrets.BECOME_PASSWORD}}' > ./.become_pass
|
||||
|
||||
#- name: Install Ansible Galaxy requirements
|
||||
# run: |
|
||||
@ -47,4 +48,4 @@ jobs:
|
||||
|
||||
options: |
|
||||
--inventory Ansible/inventory.ini
|
||||
--extra-vars "@Ansible/homelab-vault/secrets.yml"
|
||||
--become-pass-file ./.become_pass
|
Loading…
Reference in New Issue
Block a user