Merge "Ansible 2.x - Address deprecation warning of bare variables"

This commit is contained in:
Jenkins 2016-04-21 07:41:43 +00:00 committed by Gerrit Code Review
commit d7d6cb1794
2 changed files with 5 additions and 3 deletions

View File

@ -16,6 +16,9 @@
## APT Cache Options
cache_timeout: 600
rsyslog_client_apt_repos: []
# Example override to specify which repo the packages should come from
# rsyslog_client_apt_repos:
# - { repo: "ppa:adiscon/v8-stable", state: "present" }

View File

@ -17,8 +17,7 @@
apt_repository:
repo: "{{ item.repo }}"
state: "{{ item.state }}"
with_items: rsyslog_client_apt_repos
when: rsyslog_client_apt_repos is defined
with_items: "{{ rsyslog_client_apt_repos }}"
register: add_repos
until: add_repos|success
retries: 5
@ -53,6 +52,6 @@
until: install_packages|success
retries: 5
delay: 2
with_items: rsyslog_client_apt_packages
with_items: "{{ rsyslog_client_apt_packages }}"
tags:
- rsyslog-client-apt-packages