From 97d06dc4e17e96cf39e17fda8a40663966209c7e Mon Sep 17 00:00:00 2001 From: Benjamin Hays Date: Sat, 12 Oct 2024 19:21:54 -0400 Subject: [PATCH] seventh attempt --- .gitea/workflows/ansible-deploy.yml | 3 +-- Ansible/ansible.cfg | 2 +- ansible.cfg | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) 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