Only pass vault pass when deploying

This makes linting much simpler
This commit is contained in:
Jake Howard 2023-06-15 14:45:09 +01:00
parent c27043269c
commit 2a0d40aca9
Signed by: jake
GPG Key ID: 57AFB45680EDD477
3 changed files with 1 additions and 4 deletions

View File

@ -28,7 +28,5 @@ jobs:
- name: Set up
run: ./scripts/ansible/setup.sh
- name: Pretend executable is vault password
run: chmod -x ansible/vault-pass.sh
- name: Lint
run: ./scripts/ansible/lint.sh

View File

@ -7,7 +7,6 @@ collections_path = $PWD/galaxy_collections
inventory = ./hosts
become_ask_pass = True
interpreter_python = auto_silent
vault_password_file = ./vault-pass.sh
[ssh_connection]
pipelining = True

View File

@ -4,4 +4,4 @@ set -ex
cd ansible/
time ansible-playbook main.yml -K $@
time ansible-playbook main.yml --vault-password-file=vault-pass.sh -K $@