1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Alphabetical order for 6 svcs in nginx/tasks/uses_apache.yml

This commit is contained in:
A Holt 2020-01-11 16:07:39 -05:00 committed by GitHub
parent 63af4c87cd
commit acfe65f9d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,3 @@
- name: Install /etc/nginx/conf.d/moodle-nginx.conf from template, if moodle_enabled
template:
src: moodle-nginx.conf.j2
dest: /etc/nginx/conf.d/moodle-nginx.conf
owner: root # Not nec? Remove?
group: root # Not nec? Remove?
mode: '0644' # Not nec? Remove?
when: moodle_enabled | bool
- name: Install /etc/nginx/conf.d/dokuwiki-nginx.conf from template, if dokuwiki_enabled - name: Install /etc/nginx/conf.d/dokuwiki-nginx.conf from template, if dokuwiki_enabled
template: template:
src: dokuwiki-nginx.conf src: dokuwiki-nginx.conf
@ -25,6 +16,25 @@
dest: /etc/nginx/conf.d/lokole-nginx.conf dest: /etc/nginx/conf.d/lokole-nginx.conf
when: lokole_enabled | bool when: lokole_enabled | bool
- name: Install /etc/nginx/conf.d/moodle-nginx.conf from template, if moodle_enabled
template:
src: moodle-nginx.conf.j2
dest: /etc/nginx/conf.d/moodle-nginx.conf
when: moodle_enabled | bool
- name: Install /etc/nginx/conf.d/nextcloud-nginx.conf from template, if nextcloud_enabled
template:
src: nextcloud-nginx.conf
dest: /etc/nginx/conf.d/nextcloud-nginx.conf
when: nextcloud_enabled | bool
- name: Install /etc/nginx/conf.d/nodered-nginx.conf from template, if nodered_enabled
template:
src: nodered-nginx.conf.j2
dest: /etc/nginx/conf.d/nodered-nginx.conf
# mode: '0666'
when: nodered_enabled | bool
# mediawiki and wordpress are no longer proxied # mediawiki and wordpress are no longer proxied
#- name: Install MediaWiki's nginx conf.d file from template #- name: Install MediaWiki's nginx conf.d file from template
@ -39,19 +49,4 @@
# dest: /etc/nginx/conf.d/ # dest: /etc/nginx/conf.d/
# when: wordpress_enabled # when: wordpress_enabled
- name: Install /etc/nginx/conf.d/nextcloud-nginx.conf from template, if nextcloud_enabled
template:
src: nextcloud-nginx.conf
dest: /etc/nginx/conf.d/nextcloud-nginx.conf
when: nextcloud_enabled | bool
- name: Install /etc/nginx/conf.d/nodered-nginx.conf from template, if nodered_enabled
template:
src: nodered-nginx.conf.j2
dest: /etc/nginx/conf.d/nodered-nginx.conf
owner: root # Not nec? Remove?
group: root # Not nec? Remove?
mode: '0666'
when: nodered_enabled | bool
#- name: Install proxpass to apache running on localhost #- name: Install proxpass to apache running on localhost