fixed deprecation warnings regarding bare variables

This commit is contained in:
teuto.net Netzdienste GmbH
2016-03-30 10:23:43 +02:00
parent ed9a521d6d
commit 457ed11b49
7 changed files with 13 additions and 13 deletions

View File

@@ -45,7 +45,7 @@
- meta: flush_handlers
- include: start.yml
with_items: groups['kube-master']
with_items: "{{ groups['kube-master'] }}"
when: "{{ hostvars[item].inventory_hostname == inventory_hostname }}"
# Create kube-system namespace

View File

@@ -8,7 +8,7 @@
create: yes
backup: yes
when: hostvars[item].ansible_default_ipv4.address is defined
with_items: groups['all']
with_items: "{{ groups['all'] }}"
- name: Hosts | populate kubernetes loadbalancer address into hosts file
lineinfile:

View File

@@ -48,4 +48,4 @@
file:
path: "{{ item }}"
mode: 0600
with_items: keyfiles.stdout_lines
with_items: "{{ keyfiles.stdout_lines }}"