]> arthur.barton.de Git - AnsibleRoles.git/blob - roles/apache2-php7/tasks/main.yml
check-mk-agent: "nagios-plugins-basic" is "monitoring-plugins-basic" since Debian...
[AnsibleRoles.git] / roles / apache2-php7 / tasks / main.yml
1 ---
2 # apache2-php7 tasks
3
4 - name: install packages for Apache 2 with PHP 7
5   tags:
6     - apache
7     - packages
8   apt:
9     state: present
10     name: [
11       'libapache2-mod-php',
12       'php',
13       'php-cli',
14       'php-mysql',
15       'php-pgsql',
16     ]
17   notify:
18     - restart "apache2"
19
20 - name: ensure service "apache2" is enabled and started
21   tags:
22     - apache
23     - services
24   service: >
25     enabled=yes
26     name=apache2
27     state=started