diff --git a/.gitea/workflows/ansible-deploy.yml b/.gitea/workflows/ansible-deploy.yml index 2a2a14f..e0018fb 100644 --- a/.gitea/workflows/ansible-deploy.yml +++ b/.gitea/workflows/ansible-deploy.yml @@ -30,7 +30,6 @@ 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: | @@ -48,4 +47,4 @@ jobs: options: | --inventory Ansible/inventory.ini - --become-pass-file ./.become_pass \ No newline at end of file + --extra-vars "@Ansible/homelab-vault/secrets.yml" \ No newline at end of file diff --git a/Ansible/ansible.cfg b/Ansible/ansible.cfg index a7e975a..4c5e49a 100644 --- a/Ansible/ansible.cfg +++ b/Ansible/ansible.cfg @@ -4,4 +4,4 @@ host_key_checking = False inventory = ./inventory.ini [privilege_escalation] -become_ask_pass = True +#become_ask_pass = True diff --git a/ansible.cfg b/ansible.cfg index 017a171..791b1bf 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -4,4 +4,4 @@ host_key_checking = False inventory = ./Ansible/inventory.ini [privilege_escalation] -become_ask_pass = True +#become_ask_pass = True