]> arthur.barton.de Git - AnsibleRoles.git/blob - roles/apache2-php5/tasks/main.yml
d39e17f39d7d24bc758bb9052c867647a1f68c90
[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     - libapache2-mod-php5
13     - php-apc
14     - php5
15     - php5-cli
16     - php5-mysql
17   notify:
18     - restart "apache2"
19
20 - name: ensure service "apache2" is enabled and running
21   tags:
22     - apache
23     - services
24   service: >
25     enabled=yes
26     name=apache2
27     state=running