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

Commit fba6c6a

Browse files
authored
Add an example of what to put in secrets.yml
I grabbed the text for this change from: https://www.jeffgeerling.com/blog/2017/soup-nuts-using-drupal-vm-build-local-and-prod
1 parent b6b348c commit fba6c6a

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
@@ -43,7 +43,15 @@ First, you'd create an Ansible Vault encrypted file:
4343

4444
$ ansible-vault create secrets.yml
4545

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

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

0 commit comments

Comments
 (0)