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 - name: Set up
run: ./scripts/ansible/setup.sh run: ./scripts/ansible/setup.sh
- name: Pretend executable is vault password
run: chmod -x ansible/vault-pass.sh
- name: Lint - name: Lint
run: ./scripts/ansible/lint.sh run: ./scripts/ansible/lint.sh

View file

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

View file

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