mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
elgg - moved shim
This commit is contained in:
parent
31522b22cb
commit
86fc754acc
1 changed files with 16 additions and 1 deletions
|
@ -17,10 +17,25 @@
|
|||
state: absent
|
||||
when: not elgg_enabled and is_redhat
|
||||
|
||||
- name: Install {{ nginx_config_dir }}/elgg-nginx.conf from template
|
||||
template:
|
||||
src: elgg-nginx.conf
|
||||
dest: "{{ nginx_config_dir }}/elgg-nginx.conf"
|
||||
when: elgg_enabled and nginx_enabled
|
||||
|
||||
- name: Restart Apache ({{ apache_service }}) to enable/disable http://box/elgg
|
||||
service:
|
||||
systemd:
|
||||
name: "{{ apache_service }}"
|
||||
daemon_reload: yes
|
||||
state: restarted
|
||||
when: apache_enabled
|
||||
|
||||
- name: Restart nginx to enable/disable http://box/elgg
|
||||
systemd:
|
||||
name: nginx
|
||||
daemon_reload: yes
|
||||
state: restarted
|
||||
when: nginx_enabled
|
||||
|
||||
- name: Add 'elgg' variable values to {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
|
|
Loading…
Reference in a new issue