Only pass vault pass when deploying
This makes linting much simpler
This commit is contained in:
parent
c27043269c
commit
2a0d40aca9
3 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 $@
|
||||
|
|
Loading…
Reference in a new issue