Ludovic Poujol
e6f2bbb331
This is a breaking change as lxc-php should now be called for *each* php containers we want, with the correct lxc_php_version variable. Current valid values are : - php56 - php70 - php73 Other changes includes : - LXC Containers are created by calling lxc as a dependency of the role. - Relying on lxc_container module to do commands into the container (instead of the command module) - PHP 7.3 container is now a Debian Buster container - All containers will have opensmtpd to relay emails to postfix on the host system.
21 lines
522 B
YAML
21 lines
522 B
YAML
---
|
|
- name: Reload php73-fpm
|
|
lxc_container:
|
|
name: "{{ lxc_php_version }}"
|
|
container_command: "systemctl reload php7.3-fpm"
|
|
|
|
- name: Reload php70-fpm
|
|
lxc_container:
|
|
name: "{{ lxc_php_version }}"
|
|
container_command: "systemctl reload php7.0-fpm"
|
|
|
|
- name: Reload php70-fpm
|
|
lxc_container:
|
|
name: "{{ lxc_php_version }}"
|
|
container_command: "systemctl reload php5-fpm"
|
|
|
|
- name: Restart opensmtpd
|
|
lxc_container:
|
|
name: "{{ lxc_php_version }}"
|
|
container_command: "systemctl restart opensmtpd"
|