From 03ccf363f9f52919ecf021146a19a3d7a313bbef Mon Sep 17 00:00:00 2001 From: Adam Dyson Date: Wed, 18 May 2016 23:59:29 +1000 Subject: [PATCH] Fixed deprecated bare variables --- tasks/package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/package.yml b/tasks/package.yml index 14fcfac..28c6d85 100644 --- a/tasks/package.yml +++ b/tasks/package.yml @@ -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 @@ -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