mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #428 from jvonau/master-fix2
Sync from jvonau:master-fix2
This commit is contained in:
commit
dbd1f37e74
9 changed files with 19 additions and 80 deletions
|
|
@ -96,46 +96,6 @@
|
|||
gui_port: 443
|
||||
when: adm_cons_force_ssl | bool
|
||||
|
||||
- name: Turn on both vars for MySQL (mandatory in Stage 3!)
|
||||
set_fact:
|
||||
mysql_install: True
|
||||
mysql_enabled: True
|
||||
|
||||
# We decided to enable mysql unconditionally.
|
||||
# when: elgg_enabled or rachel_enabled or owncloud_enabled or phpmyadmin_enabled or wordpress_enabled or iiab_menu_install
|
||||
|
||||
- name: "Set python_path: /lib/python2.7/site-packages/ (redhat)"
|
||||
set_fact:
|
||||
python_path: /lib/python2.7/site-packages/
|
||||
when: is_redhat | bool
|
||||
|
||||
- name: "Set python_path: /usr/local/lib/python2.7/dist-packages/ (debuntu)"
|
||||
set_fact:
|
||||
python_path: /usr/local/lib/python2.7/dist-packages/
|
||||
when: is_debuntu | bool
|
||||
|
||||
# For various reasons the mysql service cannot be enabled on Fedora 20, but
|
||||
# 'mariadb', which is its real name can. On Fedora 18 we need to use 'mysqld'.
|
||||
|
||||
# BETTER TO USE /opt/iiab/iiab/vars/<OS>.yml
|
||||
#- name: "Set mysql_service: mariadb by default"
|
||||
# set_fact:
|
||||
# mysql_service: mariadb
|
||||
|
||||
- name: "Set mysql_service: mysqld etc (Fedora 18)"
|
||||
set_fact:
|
||||
# BETTER TO USE /opt/iiab/iiab/vars/<OS>.yml
|
||||
#mysql_service: mysqld
|
||||
no_NM_reload: True
|
||||
is_F18: True
|
||||
when: (ansible_distribution_release == "based on Fedora 18" or ansible_distribution_version == "18") and ansible_distribution == "Fedora"
|
||||
|
||||
# BETTER TO USE /opt/iiab/iiab/vars/<OS>.yml
|
||||
#- name: "Set mysql_service: mysql (debuntu)"
|
||||
# set_fact:
|
||||
# mysql_service: mysql
|
||||
# when: is_debuntu | bool
|
||||
|
||||
- name: "Set iiab_fqdn: {{ iiab_hostname }}.{{ iiab_domain }}"
|
||||
set_fact:
|
||||
iiab_fqdn: "{{ iiab_hostname }}.{{ iiab_domain }}"
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
# are officially now UNMAINTAINED in default_vars.yml and
|
||||
# https://github.com/iiab/iiab/blob/master/unmaintained-roles.txt etc?
|
||||
|
||||
- name: Set vars_checklist for 53 + 53 + up-to-53 vars ("XYZ_install" + "XYZ_enabled" + "XYZ_installed") to be checked
|
||||
- name: Set vars_checklist for 46 + 46 + up-to-46 vars ("XYZ_install" + "XYZ_enabled" + "XYZ_installed") to be checked
|
||||
set_fact:
|
||||
vars_checklist:
|
||||
- hostapd
|
||||
|
|
@ -54,13 +54,8 @@
|
|||
- wondershaper
|
||||
- sshd
|
||||
- openvpn
|
||||
- admin_console
|
||||
- nginx
|
||||
- apache
|
||||
- mysql
|
||||
- squid
|
||||
- dansguardian
|
||||
- postgresql
|
||||
- cups
|
||||
- samba
|
||||
- usb_lib
|
||||
|
|
@ -76,7 +71,6 @@
|
|||
- lokole
|
||||
- mediawiki
|
||||
- mosquitto
|
||||
- nodejs
|
||||
- nodered
|
||||
- nextcloud
|
||||
- pbx
|
||||
|
|
@ -85,7 +79,6 @@
|
|||
- kolibri
|
||||
- kiwix
|
||||
- moodle
|
||||
- mongodb
|
||||
- sugarizer
|
||||
- osm_vector_maps
|
||||
- transmission
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
- name: dnsmasq (install now, configure LATER in 'network', after Stage 9)
|
||||
include_tasks: roles/network/tasks/dnsmasq.yml
|
||||
#when: dnsmasq_install | bool
|
||||
|
||||
- name: Install uuid-runtime package (debuntu)
|
||||
package:
|
||||
|
|
@ -78,12 +77,10 @@
|
|||
- name: SSHD
|
||||
include_role:
|
||||
name: sshd
|
||||
#when: sshd_install | bool # Flag might be created in future?
|
||||
|
||||
- name: IIAB-ADMIN
|
||||
include_role:
|
||||
name: iiab-admin
|
||||
#when: iiab_admin_install | bool # Flag might be created in future?
|
||||
|
||||
- name: OPENVPN
|
||||
include_role:
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
- name: MYSQL
|
||||
include_role:
|
||||
name: mysql
|
||||
when: mysql_install | bool
|
||||
|
||||
# 2020-05-21: Apache role 'httpd' is installed as nec by any of these 7 roles:
|
||||
#
|
||||
|
|
@ -22,7 +21,6 @@
|
|||
- name: NGINX
|
||||
include_role:
|
||||
name: nginx
|
||||
when: nginx_install | bool
|
||||
|
||||
- name: WWW_BASE (WWW_OPTIONS should be installed later)
|
||||
include_role:
|
||||
|
|
|
|||
|
|
@ -16,7 +16,10 @@
|
|||
- name: Install pylibs (IIAB's python libs)
|
||||
include_role:
|
||||
name: pylibs
|
||||
#when: pylibs_install | bool # Flag might be created in future?
|
||||
|
||||
- name: SSHD
|
||||
include_role:
|
||||
name: sshd
|
||||
|
||||
- name: Install named / BIND
|
||||
include_tasks: roles/network/tasks/named.yml
|
||||
|
|
@ -57,7 +60,6 @@
|
|||
- name: WWW_OPTIONS (WWW_BASE should have been installed earlier)
|
||||
include_role:
|
||||
name: www_options
|
||||
#when: www_options_install | bool # Flag might be created in future?
|
||||
|
||||
- name: Recording STAGE 4 HAS COMPLETED ==================
|
||||
lineinfile:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue