Jérémy Lecour
ee21973371
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2777|524|2253|2462|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
53 lines
1.8 KiB
YAML
53 lines
1.8 KiB
YAML
---
|
|
|
|
- name: Symlink Evolix CLI config files from 7.4 to 7.0
|
|
ansible.builtin.file:
|
|
src: "{{ item.src }}"
|
|
dest: "{{ item.dest }}"
|
|
force: yes
|
|
state: link
|
|
loop:
|
|
- { 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.4/cli/conf.d/zzz-evolinux-custom.ini" }
|
|
|
|
- name: Enforce permissions on PHP 7.4/cli directory
|
|
ansible.builtin.file:
|
|
dest: /etc/php/7.4/cli
|
|
mode: "0755"
|
|
|
|
- name: Symlink Evolix Apache config files from 7.4 to 7.0
|
|
ansible.builtin.file:
|
|
src: "{{ item.src }}"
|
|
dest: "{{ item.dest }}"
|
|
force: yes
|
|
state: link
|
|
loop:
|
|
- { 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.4/apache2/conf.d/zzz-evolinux-custom.ini" }
|
|
when: php_apache_enable | bool
|
|
|
|
- name: Enforce permissions on PHP 7.4/cli directory
|
|
ansible.builtin.file:
|
|
dest: /etc/php/7.4/apache2
|
|
mode: "0755"
|
|
when: php_apache_enable | bool
|
|
|
|
- name: Symlink Evolix FPM config files from 7.4 to 7.0
|
|
ansible.builtin.file:
|
|
src: "{{ item.src }}"
|
|
dest: "{{ item.dest }}"
|
|
force: yes
|
|
state: link
|
|
loop:
|
|
- { 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.4/fpm/conf.d/zzz-evolinux-custom.ini" }
|
|
- { 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.4/fpm/pool.d/zzz-evolinux-custom.conf" }
|
|
when: php_fpm_enable | bool
|
|
|
|
- name: Enforce permissions on PHP 7.4/cli directory
|
|
ansible.builtin.file:
|
|
dest: /etc/php/7.4/fpm
|
|
mode: "0755"
|
|
when: php_fpm_enable | bool
|