mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
www_base/tasks/main.yml experiment: don't install php{{ php_version }}-xmlrpc if PHP 8+
This commit is contained in:
parent
7da525f617
commit
e381691062
1 changed files with 8 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Role "www_base" runs here, probably in 3-BASE-SERVER.
|
||||
# Role "www_options" runs later, likely in 4-SERVER-OPTIONS.
|
||||
|
||||
- name: 'Install ~10 PHP packages (debuntu)'
|
||||
- name: Install 9 PHP packages
|
||||
package:
|
||||
name:
|
||||
# - 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
|
||||
|
@ -15,9 +15,14 @@
|
|||
- php-pear
|
||||
# - php{{ php_version }}-sqlite3 # 2020-07-10: Experimentally install this within roles/osm-vector-maps/tasks/install.yml only, as part of OSM fix PR #2464 for #2461.
|
||||
- php{{ php_version }}-xml # Was below
|
||||
- php{{ php_version }}-xmlrpc
|
||||
#- php{{ php_version }}-xmlrpc # 2021-06-25: Experimentally moved just below, to figure out if/where IIAB still needs this with PHP 8.0+
|
||||
state: present
|
||||
when: is_debuntu
|
||||
|
||||
- name: Install php{{ php_version }}-xmlrpc if PHP < 8.0
|
||||
package:
|
||||
name: php{{ php_version }}-xmlrpc
|
||||
state: present
|
||||
when: php_version is version('8.0', '<')
|
||||
|
||||
- name: Using html.yml
|
||||
include_tasks: html.yml
|
||||
|
|
Loading…
Add table
Reference in a new issue