mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +00:00
Install apache2 at end of 9-local-addons if admin_console_install: True (TEMPORARY)
This commit is contained in:
parent
39cd30548c
commit
cd714402bf
2 changed files with 7 additions and 31 deletions
|
@ -30,34 +30,10 @@
|
|||
name: calibre-web
|
||||
when: calibreweb_install | bool
|
||||
|
||||
# Could split these two below to Stage 10? 2020-02-12: Experimentally moving
|
||||
# stuff to roles/3-base-server, 4-server-options, roles/httpd, roles/nginx.
|
||||
|
||||
# - name: "Set 'nginx_enabled: True'"
|
||||
# set_fact:
|
||||
# nginx_enabled: True
|
||||
#
|
||||
# - name: Fully Enable / Configure NGINX (already installed in Stage 3-BASE-SERVER) if 'nginx_enabled' is True
|
||||
# include_role:
|
||||
# name: nginx
|
||||
# when: nginx_enabled | bool # WAS: nginx_install
|
||||
# # If just CONFIGURING (etc) shouldn't we use one of the following instead ??
|
||||
# # include_tasks: roles/nginx/tasks/setup.yml
|
||||
# # include_tasks: roles/nginx/tasks/enable.yml
|
||||
|
||||
# - name: "Set 'apache_enabled: True'"
|
||||
# set_fact:
|
||||
# apache_enabled: True
|
||||
#
|
||||
# - name: Fully Enable / Configure Apache systemd service ({{ apache_service }}) if 'apache_enabled' is True
|
||||
# include_role:
|
||||
# name: httpd
|
||||
# #name: httpd-enable
|
||||
# when: apache_enabled | bool # WAS: apache_install
|
||||
# # WARNING THAT APACHE IS AUTO-ENABLED BY THESE ~6 APPS ALONE!
|
||||
# # https://github.com/holta/iiab/blob/scaff2/roles/0-init/tasks/main.yml#L40-L44
|
||||
# # Summarized @ https://github.com/iiab/iiab/blob/master/roles/nginx/README.md
|
||||
# # 2020-01-23: APACHE FUTURE SUMMARY QUESTIONS @ roles/httpd/tasks/main.yml
|
||||
- name: '2020-05-21: TEMPORARILY INSTALL APACHE UNTIL ADMIN CONSOLE DECLARES (OR REMOVES?) ITS DEPENDENCY within [console : Enable ssl] to avoid error "Neither of apache2ctl nor apachctl found. At least one apache control binary is necessary." -- possibly var adm_cons_force_ssl is still useful here?'
|
||||
package:
|
||||
name: apache2
|
||||
when: admin_console_install | bool
|
||||
|
||||
- name: Recording STAGE 9 HAS COMPLETED ====================
|
||||
lineinfile:
|
||||
|
|
|
@ -229,9 +229,9 @@ pi_swap_file_size: 1024
|
|||
|
||||
# 3-BASE-SERVER
|
||||
|
||||
# 2020-01-22: Both vars unused. SEE ABOVE js_menu_install.
|
||||
admin_console_install: True
|
||||
admin_console_enabled: True
|
||||
# 2020-01-22: See also js_menu_install (above).
|
||||
admin_console_install: True # For now in roles/9-local-addons/tasks/main.yml
|
||||
admin_console_enabled: True # Not in active use as of 2020-05-21
|
||||
|
||||
# MySQL MANDATORY - THESE 2 VARS HAVE NO EFFECT - SEE roles/0-init/tasks/main.yml & roles/mysql/tasks/main.yml
|
||||
mysql_install: True
|
||||
|
|
Loading…
Reference in a new issue