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

Note: php forces install of Apache in mysql/tasks/install.yml

This commit is contained in:
root 2020-05-16 21:12:20 -04:00
parent 52e8d30f00
commit 83b44f0a89

View file

@ -1,7 +1,6 @@
# Stanzas as of 2020-02-04: # Stanzas as of 2020-02-04:
# #
# - 4 base install # - 1 base install
# - Remove the last 3 above, as CentOS & Fedora no longer supported ?
# - 6 double timeout for slow CPUs # - 6 double timeout for slow CPUs
# - 7 DB config # - 7 DB config
# - 2 record as installed # - 2 record as installed
@ -11,7 +10,7 @@
name: name:
- mariadb-server - mariadb-server
- mariadb-client - mariadb-client
- php{{ php_version }} - php{{ php_version }} # On Ubuntu 20.04 (and prob other OS's) this forces the install of: apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php{{ php_version }} ETC
- php{{ php_version }}-mysql - php{{ php_version }}-mysql
- php-pear - php-pear
- php{{ php_version }}-gd - php{{ php_version }}-gd
@ -23,41 +22,28 @@
state: present state: present
when: is_debuntu | bool when: is_debuntu | bool
# - name: Install package 'php{{ php_version }}-xml' (debuntu) # WAS: (ubuntu or debian 9+) # - name: "Install packages: mysql, MySQL-python and 9 php packages (OS's other than debuntu)"
# package: # package:
# name: "php{{ php_version }}-xml" # name:
# - MySQL-python
# - mysql
# - php
# - php-mysql
# - php-pear
# - php-gd
# - php-imap
# - php-ldap
# - php-odbc
# - php-xml
# - php-xmlrpc
# state: present # state: present
# when: is_debuntu | bool # when: not is_debuntu
# #when: is_ubuntu or (is_debian and not is_debian_8) #
# - include_tasks: centos.yml
#- name: Install php-xml-parser (debian-8) # when: ansible_distribution == "CentOS"
# package: #
# name: php-xml-parser # - include_tasks: fedora.yml
# state: present # when: ansible_distribution == "Fedora"
# when: is_debian_8 | bool
- name: "Install packages: mysql, MySQL-python and 9 php packages (OS's other than debuntu)"
package:
name:
- MySQL-python
- mysql
- php
- php-mysql
- php-pear
- php-gd
- php-imap
- php-ldap
- php-odbc
- php-xml
- php-xmlrpc
state: present
when: not is_debuntu
- include_tasks: centos.yml
when: ansible_distribution == "CentOS"
- include_tasks: fedora.yml
when: ansible_distribution == "Fedora"
# 2019-07-03 @jvonau @holta: the next 50 lines (6 stanzas) double MariaDB's # 2019-07-03 @jvonau @holta: the next 50 lines (6 stanzas) double MariaDB's