mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #1386 from holta/debian-10-vars
Fixes for 2019's Debian 10 "Buster" + 3 outstanding issues incl workarounds
This commit is contained in:
commit
b1f58c7164
13 changed files with 37 additions and 10 deletions
|
@ -59,11 +59,13 @@
|
||||||
state: present
|
state: present
|
||||||
when: is_debuntu
|
when: is_debuntu
|
||||||
|
|
||||||
- name: 'Install php{{ php_version }}-mcrypt (debuntu but not ubuntu-18) NOTE: php7.2 dropped mcrypt'
|
- name: 'Install php{{ php_version }}-mcrypt IF this is a "pre-2018" distro in the debuntu family. NOTE: PHP 7.1 deprecated mcrypt 1-Dec-2016 and PHP 7.2 dropped it completely 30-Nov-2017, as it should no longer be nec.'
|
||||||
package:
|
package:
|
||||||
name: "php{{ php_version }}-mcrypt"
|
name: "php{{ php_version }}-mcrypt"
|
||||||
state: present
|
state: present
|
||||||
when: is_debuntu and not is_ubuntu_18
|
when: is_debuntu and (is_debian_8 or is_debian_9 or is_ubuntu_16 or is_ubuntu_17)
|
||||||
|
# NOT NEC TO TEST FOR is_raspbian_8 OR is_raspbian_9 AS /opt/iiab/iiab/vars/<OS>.yml
|
||||||
|
# DEFINES THESE AS SUBSETS OF is_debian_8 OR is_debian_9 (FOR NOW!)
|
||||||
|
|
||||||
# we need to install the rpm in order to get the dependencies
|
# we need to install the rpm in order to get the dependencies
|
||||||
# but we only need to do this the first time
|
# but we only need to do this the first time
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
is_centos: True
|
|
||||||
is_redhat: True
|
is_redhat: True
|
||||||
|
is_centos: True
|
||||||
|
is_centos_7: True
|
||||||
|
|
||||||
dns_service: named
|
dns_service: named
|
||||||
dns_user: named
|
dns_user: named
|
||||||
proxy: squid
|
proxy: squid
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
is_debuntu: True
|
is_debuntu: True
|
||||||
is_debian: True
|
is_debian: True
|
||||||
is_debian_10: True
|
is_debian_10: True
|
||||||
|
|
||||||
dns_service: bind9
|
dns_service: bind9
|
||||||
dhcp_service: isc-dhcp-server
|
dhcp_service: isc-dhcp-server
|
||||||
dns_user: bind
|
dns_user: bind
|
||||||
|
@ -17,8 +18,8 @@ mysql_service: mariadb
|
||||||
apache_log: /var/log/apache2/access.log
|
apache_log: /var/log/apache2/access.log
|
||||||
sshd_package: openssh-server
|
sshd_package: openssh-server
|
||||||
sshd_service: ssh
|
sshd_service: ssh
|
||||||
php_version: 7.1
|
php_version: 7.3
|
||||||
postgresql_version: 10
|
postgresql_version: 11
|
||||||
systemd_location: /lib/systemd/system
|
systemd_location: /lib/systemd/system
|
||||||
# Upgrade OS's own Calibre to very latest:
|
# Upgrade OS's own Calibre to very latest:
|
||||||
calibre_via_debs: True
|
calibre_via_debs: True
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
is_debuntu: True
|
is_debuntu: True
|
||||||
is_debian: True
|
is_debian: True
|
||||||
is_debian_8: True
|
is_debian_8: True
|
||||||
|
|
||||||
dns_service: bind9
|
dns_service: bind9
|
||||||
dns_user: bind
|
dns_user: bind
|
||||||
proxy: squid3
|
proxy: squid3
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
is_debuntu: True
|
is_debuntu: True
|
||||||
is_debian: True
|
is_debian: True
|
||||||
is_debian_9: True
|
is_debian_9: True
|
||||||
|
|
||||||
dns_service: bind9
|
dns_service: bind9
|
||||||
dhcp_service: isc-dhcp-server
|
dhcp_service: isc-dhcp-server
|
||||||
dns_user: bind
|
dns_user: bind
|
||||||
|
|
|
@ -490,16 +490,22 @@ calibreweb_home: "{{ content_base }}/calibre-web" # /library/calibre-web
|
||||||
is_debuntu: False
|
is_debuntu: False
|
||||||
is_ubuntu: False
|
is_ubuntu: False
|
||||||
is_ubuntu_18: False
|
is_ubuntu_18: False
|
||||||
|
is_ubuntu_17: False
|
||||||
is_ubuntu_16: False
|
is_ubuntu_16: False
|
||||||
is_debian: False
|
is_debian: False
|
||||||
is_debian_10: False
|
is_debian_10: False
|
||||||
is_debian_9: False
|
is_debian_9: False
|
||||||
is_debian_8: False
|
is_debian_8: False
|
||||||
is_rpi: False
|
is_rpi: False
|
||||||
|
is_raspbian_9: False
|
||||||
|
is_raspbian_8: False
|
||||||
|
|
||||||
is_redhat: False
|
is_redhat: False
|
||||||
is_fedora: False
|
|
||||||
is_centos: False
|
is_centos: False
|
||||||
|
is_centos_7: False
|
||||||
|
is_fedora: False
|
||||||
|
is_fedora_22: False
|
||||||
|
is_fedora_18: False
|
||||||
|
|
||||||
# How This Works:
|
# How This Works:
|
||||||
# 1. /opt/iiab/iiab/iiab-install copies scripts/local_facts.fact to /etc/ansible/facts.d/local_facts.fact
|
# 1. /opt/iiab/iiab/iiab-install copies scripts/local_facts.fact to /etc/ansible/facts.d/local_facts.fact
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
is_redhat: True
|
is_redhat: True
|
||||||
|
is_fedora: True
|
||||||
|
is_fedora_18: True
|
||||||
|
|
||||||
dns_service: named
|
dns_service: named
|
||||||
dns_user: named
|
dns_user: named
|
||||||
proxy: squid
|
proxy: squid
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
is_redhat: True
|
is_redhat: True
|
||||||
|
is_fedora: True
|
||||||
|
is_fedora_22: True
|
||||||
|
|
||||||
dns_service: named
|
dns_service: named
|
||||||
dns_user: named
|
dns_user: named
|
||||||
proxy: squid
|
proxy: squid
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
is_rpi: True
|
|
||||||
is_debian: True
|
|
||||||
is_debuntu: True
|
is_debuntu: True
|
||||||
|
is_debian: True
|
||||||
|
is_debian_8: True
|
||||||
|
is_raspbian_8: True
|
||||||
|
is_rpi: True
|
||||||
rtc_id: ds3231
|
rtc_id: ds3231
|
||||||
|
|
||||||
dns_service: bind9
|
dns_service: bind9
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
is_rpi: True
|
|
||||||
is_debian: True
|
|
||||||
is_debuntu: True
|
is_debuntu: True
|
||||||
|
is_debian: True
|
||||||
|
is_debian_9: True
|
||||||
|
is_raspbian_9: True
|
||||||
|
is_rpi: True
|
||||||
rtc_id: ds3231
|
rtc_id: ds3231
|
||||||
|
|
||||||
dns_service: bind9
|
dns_service: bind9
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
is_debuntu: True
|
is_debuntu: True
|
||||||
is_ubuntu: True
|
is_ubuntu: True
|
||||||
is_ubuntu_16: True
|
is_ubuntu_16: True
|
||||||
|
|
||||||
dns_service: bind9
|
dns_service: bind9
|
||||||
dns_user: bind
|
dns_user: bind
|
||||||
dhcp_service: isc-dhcp-server
|
dhcp_service: isc-dhcp-server
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
is_debuntu: True
|
is_debuntu: True
|
||||||
is_ubuntu: True
|
is_ubuntu: True
|
||||||
|
is_ubuntu_17: True
|
||||||
|
|
||||||
dns_service: bind9
|
dns_service: bind9
|
||||||
dns_user: bind
|
dns_user: bind
|
||||||
dhcp_service: isc-dhcp-server
|
dhcp_service: isc-dhcp-server
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
is_debuntu: True
|
is_debuntu: True
|
||||||
is_ubuntu: True
|
is_ubuntu: True
|
||||||
is_ubuntu_18: True
|
is_ubuntu_18: True
|
||||||
|
|
||||||
dns_service: bind9
|
dns_service: bind9
|
||||||
dns_user: bind
|
dns_user: bind
|
||||||
dhcp_service: isc-dhcp-server
|
dhcp_service: isc-dhcp-server
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue