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
27 lines
1,016 B
YAML
27 lines
1,016 B
YAML
---
|
|
|
|
- name: "{{ lxc_php_version }} - Install PHP packages"
|
|
community.general.lxc_container:
|
|
name: "{{ lxc_php_version }}"
|
|
container_command: "DEBIAN_FRONTEND=noninteractive apt install -y php-fpm php-cli php-gd php-intl php-imap php-ldap php-mysql php-pgsql php-sqlite3 php-curl php-zip php-mbstring php-xml php-zip composer libphp-phpmailer"
|
|
|
|
- name: "{{ lxc_php_version }} - fix bullseye repository"
|
|
ansible.builtin.replace:
|
|
dest: "{{ lxc_rootfs }}/etc/apt/sources.list"
|
|
regexp: 'bullseye/updates'
|
|
replace: 'bullseye-security'
|
|
|
|
- name: "{{ lxc_php_version }} - Copy evolinux PHP configuration"
|
|
ansible.builtin.template:
|
|
src: z-evolinux-defaults.ini.j2
|
|
dest: "{{ line_item }}"
|
|
mode: "0644"
|
|
notify: "Reload {{ lxc_php_version }}-fpm"
|
|
loop:
|
|
- "{{ lxc_rootfs }}/etc/php/7.4/fpm/conf.d/z-evolinux-defaults.ini"
|
|
- "{{ lxc_rootfs }}/etc/php/7.4/cli/conf.d/z-evolinux-defaults.ini"
|
|
loop_control:
|
|
loop_var: line_item
|
|
|
|
- ansible.builtin.include: "mail_opensmtpd.yml"
|