diff --git a/.gitea/workflows/ansible-deploy.yml b/.gitea/workflows/ansible-deploy.yml index e9a26d6..2a2a14f 100644 --- a/.gitea/workflows/ansible-deploy.yml +++ b/.gitea/workflows/ansible-deploy.yml @@ -29,7 +29,8 @@ jobs: run: | apt update -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 # run: | @@ -47,4 +48,4 @@ jobs: options: | --inventory Ansible/inventory.ini - --extra-vars "@Ansible/homelab-vault/secrets.yml" \ No newline at end of file + --become-pass-file ./.become_pass \ No newline at end of file