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

Commit 654e75b

Browse files
authored
Merge pull request #1619 from brockfanning/patch-1
Add an example of what to put in secrets.yml
2 parents f4c74c1 + fba6c6a commit 654e75b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/other/production.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,15 @@ First, you'd create an Ansible Vault encrypted file:
4747

4848
$ ansible-vault create secrets.yml
4949

50-
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`.
50+
Create the file inside your VM's configuration directory, and save the following inside (replacing the actual passwords with your own secure ones!):
51+
52+
```
53+
drupal_account_pass: add-your-secure-password-1-here
54+
drupal_db_password: add-your-secure-password-2-here
55+
mysql_root_password: add-your-secure-password-3-here
56+
```
57+
58+
Ansible Vault will encrypt the file, and you can edit the file using `ansible-vault edit`.
5159

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

0 commit comments

Comments
 (0)