0.2.6.3
- Fallback to variable for vault password as file variables get execute permission set
This commit is contained in:
parent
f0df342f61
commit
65e4f3bb80
1 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ deploy:
|
|||
- pip install ansible --quiet
|
||||
- git clone https://git.fudiggity.nl/sonny/ansible-playbooks.git deployment
|
||||
- mkdir /root/.ssh && echo "$DEPLOY_HOST_KEY" > /root/.ssh/known_hosts
|
||||
- echo $VAULT_PASSWORD > deployment/vault
|
||||
script:
|
||||
- >
|
||||
ansible-playbook deployment/playbook.yml
|
||||
|
|
@ -17,4 +18,4 @@ deploy:
|
|||
--limit newsreader
|
||||
--user ansible
|
||||
--private-key "$DEPLOY_KEY"
|
||||
--vault-password-file "$VAULT_FILE"
|
||||
--vault-password-file deployment/vault
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue