-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not hard-code the created username to plone, use the one set in th…
…e .env file (#64) * do not hard-code the created username to plone, use the one set in the .env file * set default value for the DEPLOY_USER * use an environment var for the deploy_folder * adjust for tests * fix * fix name * this is not an ansible template
- Loading branch information
Showing
5 changed files
with
8 additions
and
4 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
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
2 changes: 1 addition & 1 deletion
2
project/{{ cookiecutter.__folder_name }}/devops/inventory/group_vars/all/projects.yml
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,7 +1,7 @@ | ||
--- | ||
project_folders: | ||
# Path to store {{ cookiecutter.hostname }} postgres data | ||
- path: "/srv/{{ cookiecutter.project_slug }}/data" | ||
path: "{{ lookup('ansible.builtin.env', 'DEPLOY_FOLDER', default='/srv/plone/data') }}" | ||
owner: 999 | ||
group: 999 | ||
mode: "0750" |
2 changes: 1 addition & 1 deletion
2
project/{{ cookiecutter.__folder_name }}/devops/inventory/group_vars/all/users.yml
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,6 +1,6 @@ | ||
--- | ||
users: | ||
default: | ||
name: plone | ||
name: "{{ lookup('ansible.builtin.env', 'DEPLOY_USER', default='plone') }}" | ||
group: sudo | ||
additional_keys: [] |
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