Skip to content

Commit

Permalink
Merge pull request #4 from azavea/feature/hmc/ansible-2.0
Browse files Browse the repository at this point in the history
Add support for Ansible 2.0
  • Loading branch information
hectcastro committed Feb 5, 2016
2 parents f2f1e2f + 50e5597 commit 4b40345
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions examples/site.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---
- hosts: all

pre_tasks:
- name: Update APT cache
apt: update_cache=yes

roles:
- { role: "azavea.apache2" }
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4b40345

Please sign in to comment.