summaryrefslogtreecommitdiff
path: root/spreadspace/k8s-emc.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spreadspace/k8s-emc.yml')
-rw-r--r--spreadspace/k8s-emc.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/spreadspace/k8s-emc.yml b/spreadspace/k8s-emc.yml
index 0eada061..a1b25631 100644
--- a/spreadspace/k8s-emc.yml
+++ b/spreadspace/k8s-emc.yml
@@ -5,7 +5,7 @@
run_once: yes
tasks:
- name: create group for all kubernetes nodes
- with_items: "{{ groups['k8s_emc'] }}"
+ loop: "{{ groups['k8s_emc'] }}"
add_host:
name: "{{ item }}"
inventory_dir: "{{ inventory_dir }}"
@@ -13,7 +13,7 @@
changed_when: False
- name: create group for kubernetes master nodes
- with_items: "{{ groups['k8s_emc_master'] }}"
+ loop: "{{ groups['k8s_emc_master'] }}"
add_host:
name: "{{ item }}"
inventory_dir: "{{ inventory_dir }}"