diff --git a/examples/site.yml b/examples/site.yml index 0808991..2aed3ae 100644 --- a/examples/site.yml +++ b/examples/site.yml @@ -1,4 +1,9 @@ --- - hosts: all + + pre_tasks: + - name: Update APT cache + apt: update_cache=yes + roles: - { role: "azavea.apache2" } diff --git a/tasks/main.yml b/tasks/main.yml index d3e72fc..c0cf7de 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,6 +1,6 @@ --- - name: Install Apache - apt: pkg=apache2={{ apache_version }} state=present + apt: pkg="apache2={{ apache_version }}" state=present - name: Configure Apache template: src=ports.conf.j2 dest=/etc/apache2/ports.conf