mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Rename var nginx_config_dir to nginx_conf_dir
This commit is contained in:
parent
9d4dd4c4fd
commit
b7151fe047
21 changed files with 84 additions and 84 deletions
|
@ -31,16 +31,16 @@
|
|||
|
||||
# NGINX
|
||||
|
||||
- name: "SHIM: Enable http://box/nodered_url via NGINX, by installing {{ nginx_config_dir }}/nodered-nginx.conf from template"
|
||||
- name: "SHIM: Enable http://box/nodered_url via NGINX, by installing {{ nginx_conf_dir }}/nodered-nginx.conf from template"
|
||||
template:
|
||||
src: nodered-nginx.conf.j2
|
||||
dest: "{{ nginx_config_dir }}/nodered-nginx.conf"
|
||||
dest: "{{ nginx_conf_dir }}/nodered-nginx.conf"
|
||||
# mode: '0666'
|
||||
when: nginx_install and nodered_enabled
|
||||
|
||||
- name: "SHIM: Disable http://box/nodered_url via NGINX, by removing {{ nginx_config_dir }}/nodered-nginx.conf"
|
||||
- name: "SHIM: Disable http://box/nodered_url via NGINX, by removing {{ nginx_conf_dir }}/nodered-nginx.conf"
|
||||
file:
|
||||
path: "{{ nginx_config_dir }}/nodered-nginx.conf"
|
||||
path: "{{ nginx_conf_dir }}/nodered-nginx.conf"
|
||||
state: absent
|
||||
when: nginx_install and not nodered_enabled
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue