Fixes #110: Ansible 2.2 causes 'apache_packages' is undefined.

This commit is contained in:
Jeff Geerling 2016-11-02 15:53:19 -05:00
parent c1ba6af389
commit 88d910923c

View file

@ -10,6 +10,7 @@
# Setup/install tasks. # Setup/install tasks.
- include: "setup-{{ ansible_os_family }}.yml" - include: "setup-{{ ansible_os_family }}.yml"
static: no
# Figure out what version of Apache is installed. # Figure out what version of Apache is installed.
- name: Get installed version of Apache. - name: Get installed version of Apache.
@ -30,6 +31,7 @@
# Configure Apache. # Configure Apache.
- include: "configure-{{ ansible_os_family }}.yml" - include: "configure-{{ ansible_os_family }}.yml"
static: no
- name: Ensure Apache has selected state and enabled on boot. - name: Ensure Apache has selected state and enabled on boot.
service: service: