-
-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ansible_user references for local provisioning (#1479)
`ansible_user` can't be assumed to be defined during Ansible local provisioning (the default mode in Vagrant if Ansible is not installed on the host machine).
- Loading branch information
1 parent
a114410
commit 813eec0
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
acme_tiny_challenges_directory: "{{ www_root }}/letsencrypt" | ||
env: development | ||
mysql_root_password: "{{ vault_mysql_root_password }}" # Define this variable in group_vars/development/vault.yml | ||
web_user: "{{ ansible_user }}" | ||
web_user: "{{ ansible_user | default ('vagrant') }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters