Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1619 from brockfanning/patch-1
Browse files Browse the repository at this point in the history
Add an example of what to put in secrets.yml
  • Loading branch information
geerlingguy authored Dec 28, 2018
2 parents f4c74c1 + fba6c6a commit 654e75b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/other/production.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,15 @@ First, you'd create an Ansible Vault encrypted file:

$ ansible-vault create secrets.yml

Create the file inside your VM's configuration directory, add any plaintext passwords, and save it. Ansible Vault will encrypt the file, and you can edit the file using `ansible-vault edit`.
Create the file inside your VM's configuration directory, and save the following inside (replacing the actual passwords with your own secure ones!):

```
drupal_account_pass: add-your-secure-password-1-here
drupal_db_password: add-your-secure-password-2-here
mysql_root_password: add-your-secure-password-3-here
```

Ansible Vault will encrypt the file, and you can edit the file using `ansible-vault edit`.

When running `vagrant` commands, make sure you tell the Ansible provisioner to use `--ask-vault-pass`, e.g.:

Expand Down

0 comments on commit 654e75b

Please sign in to comment.