Store Vault password in a file

This is fine as it's just an example project.
This commit is contained in:
Oliver Davies 2019-11-26 10:06:58 +00:00
parent ca10d38c79
commit 12b8b089ba
2 changed files with 5 additions and 2 deletions

View file

@ -6,10 +6,12 @@
![A browser showing a 'Not Found' error](images/before-deploy.png)
1. Run the deploy playbook to deploy the application code to the virtual machine. You will be prompted for the Vault password, which is `dransible`.
1. Run the deploy playbook to deploy the application code to the virtual machine. The Vault password, which is `dransible`, is stored in `tools/ansible/vault-password.txt` as this is an example project.
```
ansible-playbook tools/ansible/deploy.yml -i tools/ansible/hosts.yml --ask-vault-pass
ansible-playbook tools/ansible/deploy.yml \
-i tools/ansible/hosts.yml \
--vault-password-file=tools/ansible/vault-password.txt
```
1. Load `http://dransible` in a browser, and you should see a Drupal 8 website.

View file

@ -0,0 +1 @@
dransible