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

drop apache

This commit is contained in:
Jerry Vonau 2021-07-01 13:22:43 -05:00
parent df5e880f0e
commit 8adcd85310
2 changed files with 17 additions and 17 deletions

View file

@ -1,11 +1,11 @@
- name: "Set 'apache_install: True' and 'apache_enabled: True'" #- name: "Set 'apache_install: True' and 'apache_enabled: True'"
set_fact: # set_fact:
apache_install: True # apache_install: True
apache_enabled: True # apache_enabled: True
- name: APACHE - run 'httpd' role #- name: APACHE - run 'httpd' role
include_role: # include_role:
name: httpd # name: httpd
# 2019-01-16: @jvonau's PR #1403 moved installation of Node.js (8.x for now) & # 2019-01-16: @jvonau's PR #1403 moved installation of Node.js (8.x for now) &
@ -112,18 +112,18 @@
dest: /etc/systemd/system/nodered.service dest: /etc/systemd/system/nodered.service
# mode: '0666' # mode: '0666'
- name: Install /etc/{{ apache_conf_dir }}/nodered.conf from template #- name: Install /etc/{{ apache_conf_dir }}/nodered.conf from template
template: # template:
backup: yes # backup: yes
src: nodered.conf.j2 # src: nodered.conf.j2
dest: "/etc/{{ apache_conf_dir }}/nodered.conf" # dest: "/etc/{{ apache_conf_dir }}/nodered.conf"
# mode: '0666' # mode: '0666'
# SEE ALSO THE apache2_module SECTION IN roles/httpd/tasks/main.yml # SEE ALSO THE apache2_module SECTION IN roles/httpd/tasks/main.yml
- name: Enable proxy_wstunnel apache2 module #- name: Enable proxy_wstunnel apache2 module
apache2_module: # apache2_module:
state: present # state: present
name: proxy_wstunnel # name: proxy_wstunnel
# RECORD Node-RED AS INSTALLED # RECORD Node-RED AS INSTALLED

View file

@ -42,7 +42,7 @@
#- name: Enable/Disable/Restart Apache if primary #- name: Enable/Disable/Restart Apache if primary
- name: SHIM FOR NOW SO ALWAYS DO THE...Enable/Disable/Restart Apache - name: SHIM FOR NOW SO ALWAYS DO THE...Enable/Disable/Restart Apache
include_tasks: apache.yml include_tasks: apache.yml
#when: not nginx_enabled when: not nginx_enabled
- name: Enable/Disable/Restart NGINX if primary - name: Enable/Disable/Restart NGINX if primary
include_tasks: nginx.yml include_tasks: nginx.yml