Add ids for environments.

This commit is contained in:
Jeff Geerling 2014-05-10 13:33:06 -05:00
parent c92d089f70
commit f7f52740f0
2 changed files with 5 additions and 5 deletions

View file

@ -1,11 +1,11 @@
---
- name: Ensure Apache is installed.
- name: Ensure Apache is installed (Debian).
apt: >
name={{ item }}
state=installed
with_items: apache_packages
- name: Configure Apache.
- name: Configure Apache (Debian).
lineinfile: >
dest="{{ apache_server_root }}/ports.conf"
regexp="{{ item.regexp }}"
@ -22,7 +22,7 @@
}
notify: restart apache
- name: Enable Apache mods.
- name: Enable Apache mods (Debian).
file: >
src={{ apache_server_root }}/mods-available/{{ item }}
dest={{ apache_server_root }}/mods-enabled/{{ item }}

View file

@ -1,12 +1,12 @@
---
- name: Ensure Apache is installed.
- name: Ensure Apache is installed (RedHat).
yum: >
name={{ item }}
state=installed
enablerepo={{ apache_enablerepo }}
with_items: apache_packages
- name: Configure Apache.
- name: Configure Apache (RedHat).
lineinfile: >
dest={{ apache_server_root }}/conf/{{ apache_daemon }}.conf
regexp="{{ item.regexp }}"