(fix) php: update surry_post.yml to match current latest PHP release
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing

This commit is contained in:
Ludovic Poujol 2020-04-01 18:08:57 +02:00
parent f442239cec
commit 7fc260a17b
2 changed files with 18 additions and 17 deletions

View file

@ -106,6 +106,7 @@ The **patch** part changes incrementally at each release.
* minifirewall: Properly detect alert5.sh to turn on firewall at boot * minifirewall: Properly detect alert5.sh to turn on firewall at boot
* packweb-apache: Add missing dependency to evoacme role * packweb-apache: Add missing dependency to evoacme role
* php: Chose the debian version repo archive for packages.sury.org * php: Chose the debian version repo archive for packages.sury.org
* php: update surry_post.yml to match current latest PHP release
* packweb-apache: Don't try to install PHPMyAdmin on Buster as it's not available * packweb-apache: Don't try to install PHPMyAdmin on Buster as it's not available
### Removed ### Removed

View file

@ -1,52 +1,52 @@
--- ---
- name: Symlink Evolix CLI config files from 7.3 to 7.0 - name: Symlink Evolix CLI config files from 7.4 to 7.0
file: file:
src: "{{ item.src }}" src: "{{ item.src }}"
dest: "{{ item.dest }}" dest: "{{ item.dest }}"
force: yes force: yes
state: link state: link
with_items: with_items:
- { src: "{{ php_cli_defaults_ini_file }}", dest: "/etc/php/7.3/cli/conf.d/z-evolinux-defaults.ini" } - { src: "{{ php_cli_defaults_ini_file }}", dest: "/etc/php/7.4/cli/conf.d/z-evolinux-defaults.ini" }
- { src: "{{ php_cli_custom_ini_file }}", dest: "/etc/php/7.3/cli/conf.d/zzz-evolinux-custom.ini" } - { src: "{{ php_cli_custom_ini_file }}", dest: "/etc/php/7.4/cli/conf.d/zzz-evolinux-custom.ini" }
- name: Enforce permissions on PHP 7.3/cli directory - name: Enforce permissions on PHP 7.4/cli directory
file: file:
dest: /etc/php/7.3/cli dest: /etc/php/7.4/cli
mode: "0755" mode: "0755"
- name: Symlink Evolix Apache config files from 7.3 to 7.0 - name: Symlink Evolix Apache config files from 7.4 to 7.0
file: file:
src: "{{ item.src }}" src: "{{ item.src }}"
dest: "{{ item.dest }}" dest: "{{ item.dest }}"
force: yes force: yes
state: link state: link
with_items: with_items:
- { src: "{{ php_apache_defaults_ini_file }}", dest: "/etc/php/7.3/apache2/conf.d/z-evolinux-defaults.ini" } - { src: "{{ php_apache_defaults_ini_file }}", dest: "/etc/php/7.4/apache2/conf.d/z-evolinux-defaults.ini" }
- { src: "{{ php_apache_custom_ini_file }}", dest: "/etc/php/7.3/apache2/conf.d/zzz-evolinux-custom.ini" } - { src: "{{ php_apache_custom_ini_file }}", dest: "/etc/php/7.4/apache2/conf.d/zzz-evolinux-custom.ini" }
when: php_apache_enable when: php_apache_enable
- name: Enforce permissions on PHP 7.3/cli directory - name: Enforce permissions on PHP 7.4/cli directory
file: file:
dest: /etc/php/7.3/apache2 dest: /etc/php/7.4/apache2
mode: "0755" mode: "0755"
when: php_apache_enable when: php_apache_enable
- name: Symlink Evolix FPM config files from 7.3 to 7.0 - name: Symlink Evolix FPM config files from 7.4 to 7.0
file: file:
src: "{{ item.src }}" src: "{{ item.src }}"
dest: "{{ item.dest }}" dest: "{{ item.dest }}"
force: yes force: yes
state: link state: link
with_items: with_items:
- { src: "{{ php_fpm_defaults_ini_file }}", dest: "/etc/php/7.3/fpm/conf.d/z-evolinux-defaults.ini" } - { src: "{{ php_fpm_defaults_ini_file }}", dest: "/etc/php/7.4/fpm/conf.d/z-evolinux-defaults.ini" }
- { src: "{{ php_fpm_custom_ini_file }}", dest: "/etc/php/7.3/fpm/conf.d/zzz-evolinux-custom.ini" } - { src: "{{ php_fpm_custom_ini_file }}", dest: "/etc/php/7.4/fpm/conf.d/zzz-evolinux-custom.ini" }
- { src: "{{ php_fpm_defaults_conf_file }}", dest: "/etc/php/7.3/fpm/pool.d/z-evolinux-defaults.conf" } - { src: "{{ php_fpm_defaults_conf_file }}", dest: "/etc/php/7.4/fpm/pool.d/z-evolinux-defaults.conf" }
- { src: "{{ php_fpm_custom_conf_file }}", dest: "/etc/php/7.3/fpm/pool.d/zzz-evolinux-custom.conf" } - { src: "{{ php_fpm_custom_conf_file }}", dest: "/etc/php/7.4/fpm/pool.d/zzz-evolinux-custom.conf" }
when: php_fpm_enable when: php_fpm_enable
- name: Enforce permissions on PHP 7.3/cli directory - name: Enforce permissions on PHP 7.4/cli directory
file: file:
dest: /etc/php/7.3/fpm dest: /etc/php/7.4/fpm
mode: "0755" mode: "0755"
when: php_fpm_enable when: php_fpm_enable