-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a7c843f
commit 4cff544
Showing
3 changed files
with
25 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
- name: Create welcome.html directory for basedomain | ||
ansible.builtin.file: | ||
state: directory | ||
mode: '0755' | ||
owner: "{{ __galaxy_privsep_user_name }}" | ||
group: "{{ __galaxy_privsep_user_group }}" | ||
path: "{{ galaxy_themes_static_path }}/static/welcome.html" | ||
|
||
- name: Template welcome.html for basedomain | ||
ansible.builtin.template: | ||
src: welcome.html.j2 | ||
dest: "{{ galaxy_themes_static_path }}/static/welcome.html/index.html" | ||
owner: "{{ __galaxy_privsep_user_name }}" | ||
group: "{{ __galaxy_privsep_user_group }}" | ||
mode: '0644' | ||
|
||
- name: Include create subdomain static dirs and copy static files | ||
ansible.builtin.include_tasks: static_subdomain_dirs.yml | ||
loop: "{{ galaxy_themes_subdomains if galaxy_themes_subdomains | length or \ | ||
galaxy_manage_static else [] }}" | ||
loop_control: | ||
loop_var: subdomain |
File renamed without changes.