Skip to content

Commit

Permalink
Merge pull request #3 from zeelax/fix/ansible-2.x
Browse files Browse the repository at this point in the history
Ansible 2.x stuff
  • Loading branch information
ahelal committed May 20, 2016
2 parents 202a99f + 65cfd7e commit a87703b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
5 changes: 3 additions & 2 deletions meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
galaxy_info:
description: "apt for Ubuntu 12.04"
min_ansible_version: 1.4
description: "apt for Ubuntu 12.04/14.04"
min_ansible_version: 1.9
platforms:
- name: Ubuntu
versions:
- precise
- trusty
categories:
- system
dependencies: []
4 changes: 2 additions & 2 deletions tasks/apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

- name: APT | Configure cloud init to preserve source list
copy:
'content="apt_preserve_sources_list: true"
dest="/etc/cloud/cloud.cfg.d/91_apt_preserve"'
content="apt_preserve_sources_list: true"
dest="/etc/cloud/cloud.cfg.d/91_apt_preserve"
when: apt_cloud_init_preserve_apt_list

- name: APT | Ensure the "standard" sources list /etc/apt/sources.list is updated
Expand Down
3 changes: 1 addition & 2 deletions test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
- hosts: all
sudo: True
become: True
roles:
- ansible-apt

0 comments on commit a87703b

Please sign in to comment.