[icinga-checkins] icinga.org: icinga2-ansible/master: Remove deprecated warning

git at icinga.org git at icinga.org
Mon Aug 22 18:54:22 CEST 2016


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

Author: Raphaël B <raphb.bis at gmail.com>
Date:   Mon Aug 22 15:44:13 2016 +0200

Remove deprecated warning

Like here: https://github.com/Icinga/icinga2-ansible/icinga2-ansible-no-ui/tasks/icinga2_Debian_install.yml

More informations: https://docs.ansible.com/ansible/porting_guide_2.0.html#deprecated

---

 icinga2-ansible-no-ui/tasks/icinga2_Gentoo_install.yml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/icinga2-ansible-no-ui/tasks/icinga2_Gentoo_install.yml b/icinga2-ansible-no-ui/tasks/icinga2_Gentoo_install.yml
index 5080923..76634e5 100644
--- a/icinga2-ansible-no-ui/tasks/icinga2_Gentoo_install.yml
+++ b/icinga2-ansible-no-ui/tasks/icinga2_Gentoo_install.yml
@@ -1,7 +1,7 @@
 ---
 - name: Install Icinga2 on Gentoo OS family
   portage: package={{ item.package }} state=present
-  with_items: icinga2_pkg
+  with_items: '{{ icinga2_pkg }}'
 
 - name: Start Icinga2
   service: name=icinga2



More information about the icinga-checkins mailing list