1
0
Fork 0
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:
Jerry Vonau 2020-01-04 05:38:35 -06:00
parent 31522b22cb
commit 86fc754acc

View file

@ -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: