-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Themes #194
Themes #194
Conversation
I think the failing tests might be caused by broken dependencies in dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am very excited for this!
@natefoo can you give this a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome stuff, thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I think i've found a workaround for setting the variables, this is doable!
beef4f3
to
d9e9b71
Compare
The archive/unarchive is going to result in a lot of always-run tasks, I think? But I also recall you mentioned some reason that using the |
I don't know anymore why it did not work in the past. Now it works :D |
Are you ok with the latest changes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fantastic and much more idemopotent! A couple nitpicky comments but this feels basically ready to ship
tasks/main.yml
Outdated
|
||
- 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" | ||
when: galaxy_manage_subdomain_static | ||
|
||
- name: Template welcome.html for basedomain | ||
ansible.builtin.template: | ||
src: welcome.html.j2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think all of the when: galaxy_manage_subdomain_static
could be moved into a separate file to match the rest of main.yml
that does conditional includes.
Co-authored-by: Helena <[email protected]>
Co-authored-by: Helena <[email protected]>
Co-authored-by: Helena <[email protected]>
Co-authored-by: Helena <[email protected]>
🎉 |
This was a long one, congrats to you all 🚀! |
I included the ansible-galaxy-subdomains role in this one and updated it to the new galaxy-integrated per_host functionality. See
For details