[icinga-checkins] icinga.org: icinga2-ansible/master: Fix Ansible variable deprecation warning

git at icinga.org git at icinga.org
Wed Jul 6 12:03:59 CEST 2016


Module: icinga2-ansible
Branch: master
Commit: 5c7630067e74518e18c9b00080780d5ee250579f
URL:    https://git.icinga.org/?p=icinga2-ansible.git;a=commit;h=5c7630067e74518e18c9b00080780d5ee250579f

Author: Valentino Gagliardi <valentino.g at servermanaged.it>
Date:   Wed Jul  6 12:03:56 2016 +0200

Fix Ansible variable deprecation warning

---

 icinga2-ansible-add-hosts/tasks/icinga2_add_hosts.yml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/icinga2-ansible-add-hosts/tasks/icinga2_add_hosts.yml b/icinga2-ansible-add-hosts/tasks/icinga2_add_hosts.yml
index 6cadcc5..76fccc8 100644
--- a/icinga2-ansible-add-hosts/tasks/icinga2_add_hosts.yml
+++ b/icinga2-ansible-add-hosts/tasks/icinga2_add_hosts.yml
@@ -5,6 +5,6 @@
             owner=root 
             group=root 
             mode=0644
-  with_items: groups['all']
+  with_items: "{{ groups['all'] }}"
   notify: 
    - restart icinga2



More information about the icinga-checkins mailing list