1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/nginx/tasks/uses_apache.yml
2019-11-28 05:23:14 -06:00

48 lines
1.4 KiB
YAML

- name: Install nginx's config file from template, if moodle_enabled
template:
src: moodle-nginx.conf.j2
dest: "/etc/nginx/conf.d/moodle-nginx.conf"
owner: root
group: root
mode: 0644
when: moodle_enabled | bool
- name: Install /etc/nginx/conf.d/elgg-nginx.conf from template
template:
src: elgg-nginx.conf
dest: "/etc/nginx/conf.d/elgg-nginx.conf"
when: elgg_enabled | bool
- name: Install /etc/nginx/lokole-nginx.conf from template
template:
src: lokole-nginx.conf.j2
dest: "/etc/nginx/conf.d/lokole-nginx.conf"
when: lokole_enabled | bool
- name: Install MediaWiki's nginx conf.d file from template
template:
src: mediawiki-nginx.conf.j2
dest: /etc/nginx/conf.d/mediawiki-nginx.conf
when: mediawiki_enabled | bool
- name: Install WordPress's nginx conf.d file from template
template: src=nextcloud-nginx.conf dest=/etc/nginx/conf.d/nextcloud-nginx.conf
when: nextcloud_enabled | bool
- name: Install NodeRed's nginx conf.d file from template
template:
src: nodered-nginx.conf.j2
dest: /etc/nginx/conf.d/nodered-nginx.conf
owner: root
group: root
mode: 0666
when: nodered_enabled | bool
- name: Install WordPress's nginx conf.d file from template
template:
src: wordpress-nginx.conf
dest: /etc/nginx/conf.d/
when: wordpress_enabled | bool
#- name: Install proxpass to apache running on localhost