Skip to content

Commit

Permalink
Fixed deprecated bare variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Dyson committed May 18, 2016
1 parent 521a45b commit 03ccf36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
state: '{{ item.state | default(omit) }}'
update_cache: '{{ item.update_cache | default(omit) }}'
upgrade: '{{ item.upgrade | default(omit) }}'
with_items: ntp_packages
with_items: '{{ ntp_packages }}'
when: ansible_os_family == 'Debian' and ntp_packages
tags:
- package
Expand All @@ -39,7 +39,7 @@
list: '{{ item.list | default(omit) }}'
state: '{{ item.state | default(omit) }}'
update_cache: '{{ item.update_cache | default(omit) }}'
with_items: ntp_packages
with_items: '{{ ntp_packages }}'
when: ansible_os_family == 'RedHat' and ntp_packages
tags:
- package
Expand Down

0 comments on commit 03ccf36

Please sign in to comment.