Verschiebe php-Kram in extra Rolle
This commit is contained in:
commit
51d94d1ca5
5 changed files with 72 additions and 0 deletions
18
tasks/main.yml
Normal file
18
tasks/main.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
- 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
|
||||
dest: "/etc/php/{{ php_version }}/apache2e2/conf.d/30-sao.ini"
|
||||
when: "'apache2' in ansible_facts.packages"
|
||||
notify: reload apache2
|
Loading…
Add table
Add a link
Reference in a new issue