Skip to content

Commit

Permalink
Merge pull request Oefenweb#7 from alanrossmachinery/fix-deprecation-…
Browse files Browse the repository at this point in the history
…warnings

Fix deprecation warnings in Ansible 2.0
  • Loading branch information
tersmitten committed Apr 16, 2016
2 parents 54e4531 + cdb485d commit ec66bbd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
apt:
name: "{{ item }}"
state: latest
with_items: locales_language_packs_present
with_items: "{{ locales_language_packs_present }}"
when: ansible_distribution == 'Ubuntu'
notify: update locales
tags: [configuration, locales, locales-language-packs-present]
Expand All @@ -21,7 +21,7 @@
apt:
name: "{{ item }}"
state: absent
with_items: locales_language_packs_absent
with_items: "{{ locales_language_packs_absent }}"
when: ansible_distribution == 'Ubuntu'
notify: update locales
tags: [configuration, locales, locales-language-packs-absent]
Expand All @@ -43,14 +43,14 @@
locale_gen:
name: "{{ item }}"
state: present
with_items: locales_present
with_items: "{{ locales_present }}"
tags: [configuration, locales, locales-present]

- name: make sure (specified) locales are absent
locale_gen:
name: "{{ item }}"
state: absent
with_items: locales_absent
with_items: "{{ locales_absent }}"
tags: [configuration, locales, locales-absent]

- name: set default locale
Expand Down

0 comments on commit ec66bbd

Please sign in to comment.