Unverified Commit 5e5373b7 authored by aflatto's avatar aflatto Committed by GitHub

Merge pull request #60 from Icinga/FIX_with_item_varible

Fixing qoutes for with_items expantions ansible/ansible#23496
parents 9d48f3b3 457a61ca
......@@ -16,7 +16,7 @@
apt_repository: repo='{{ item.repo }}'
update_cache=yes
state=present
with_items: '{{ icinga2_deb_repos }}'
with_items: "{{ icinga2_deb_repos }}"
# Debian packages require additional packages which are provided by the
# Debian Monitoring Project repository
......@@ -30,7 +30,7 @@
update_cache=yes
state=latest
install_recommends=no
with_items: '{{ icinga2_pkg }}'
with_items: "{{ icinga2_pkg }}"
- name: Start Icinga2
service: name=icinga2
......
---
- 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
......
......@@ -10,14 +10,14 @@
apt_repository: repo='{{ item.repo }}'
update_cache=yes
state=present
with_items: '{{ icinga2_deb_repos }}'
with_items: "{{ icinga2_deb_repos }}"
- name: Install Icinga2 on Debian OS family
apt: pkg={{ item.package }}
update_cache=yes
state=latest
install_recommends=no
with_items: '{{ icinga2_pkg }}'
with_items:" {{ icinga2_pkg }}"
- name: Start Icinga2
service: name=icinga2
......
......@@ -42,7 +42,7 @@
- name: Install Icinga Web2 on Debian family
apt: name={{ item.package }}
state=latest
with_items: '{{ icinga2_web2_ui_deb }}'
with_items: "{{ icinga2_web2_ui_deb }}"
tags: icinga2-ansible-web2-ui-install
- name: Create a Web Database for Icinga2
......@@ -94,4 +94,3 @@
- name: Icinga Web2 Installation finished (Debian)
debug: msg="Now generate a token with 'icingacli setup token create' and visit http://SERVERIP/icingaweb2/setup to continue the installation"
tags: icinga2-ansible-web2-ui-install
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment