2021-06-12 19:39:41 +02:00
|
|
|
---
|
|
|
|
- name: "Sammle Package Fakten"
|
|
|
|
package_facts:
|
|
|
|
manager: apt
|
|
|
|
|
|
|
|
- name: "Installiere Pakete"
|
|
|
|
apt:
|
|
|
|
pkg:
|
|
|
|
- php-apcu
|
|
|
|
- php-fpm
|
|
|
|
- php-zip
|
|
|
|
|
|
|
|
- name: "Kopiere Konfiguration"
|
|
|
|
template:
|
|
|
|
src: 30-sao.ini.j2
|
2021-06-12 22:21:50 +02:00
|
|
|
dest: "/etc/php/{{ php_version }}/apache2/conf.d/30-sao.ini"
|
2021-06-12 19:39:41 +02:00
|
|
|
when: "'apache2' in ansible_facts.packages"
|
|
|
|
notify: reload apache2
|