]> arthur.barton.de Git - AnsibleRoles.git/blob - roles/apache2-php5/tasks/main.yml
Initial import
[AnsibleRoles.git] / roles / apache2-php5 / tasks / main.yml
1 ---
2 # apache2-php5 tasks
3
4 - name: install packages for Apache 2 with PHP 5
5   tags:
6     - apache
7     - packages
8   apt: >
9     state=installed
10     name={{ item }}
11   with_items:
12     - apache2-mpm-prefork
13     - apache2-utils
14     - apachetop
15     - libapache2-mod-php5
16     - php-apc
17     - php5
18     - php5-cli
19     - php5-mysql
20   notify:
21     - restart "apache2"
22
23 - name: ensure service "apache2" is enabled and running
24   tags:
25     - apache
26     - services
27   service: >
28     enabled=yes
29     name=autofs
30     state=running