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

Commit 85b9138

Browse files
committed
Fixes #1250: Production directions don't specify using DRUPALVM_ENV=prod.
1 parent aa9241d commit 85b9138

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/other/production.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ Once the initialization is complete, you can test your new admin login with `ssh
123123

124124
Run the following command within Drupal VM's root directory (the folder containing the `Vagrantfile`):
125125

126-
ansible-playbook -i examples/prod/inventory provisioning/playbook.yml --sudo --ask-sudo-pass
126+
DRUPALVM_ENV=prod ansible-playbook -i examples/prod/inventory provisioning/playbook.yml --sudo --ask-sudo-pass
127127

128128
_Note: If you have installed [Drupal VM as a Composer dependency](../deployment/composer-dependency.md) you also need to specify the path of the config directory where you have your `config.yml` located._
129129

130-
ansible-playbook -i config/prod/inventory vendor/geerlingguy/drupal-vm/provisioning/playbook.yml -e "config_dir=$(pwd)/config" --sudo --ask-sudo-pass
130+
DRUPALVM_ENV=prod ansible-playbook -i config/prod/inventory vendor/geerlingguy/drupal-vm/provisioning/playbook.yml -e "config_dir=$(pwd)/config" --sudo --ask-sudo-pass
131131

132132
Ansible will prompt you for your admin account's `sudo` password (the same as the password you encrypted and saved as `admin_password`). Enter it and press return.
133133

0 commit comments

Comments
 (0)