summaryrefslogtreecommitdiffstats
path: root/xci/installer/kubespray/playbooks/configure-targethosts.yml
diff options
context:
space:
mode:
Diffstat (limited to 'xci/installer/kubespray/playbooks/configure-targethosts.yml')
-rw-r--r--xci/installer/kubespray/playbooks/configure-targethosts.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/xci/installer/kubespray/playbooks/configure-targethosts.yml b/xci/installer/kubespray/playbooks/configure-targethosts.yml
index 859460c6..2fde9877 100644
--- a/xci/installer/kubespray/playbooks/configure-targethosts.yml
+++ b/xci/installer/kubespray/playbooks/configure-targethosts.yml
@@ -22,7 +22,7 @@
package:
name: "{{ (ansible_pkg_mgr == 'zypper') | ternary('dbus-1', 'dbus') }}"
state: present
- update_cache: "{{ (ansible_pkg_mgr == 'apt') | ternary('yes', omit) }}"
+ update_cache: "{{ (ansible_pkg_mgr in ['apt', 'zypper']) | ternary('yes', omit) }}"
- hosts: kube-master
remote_user: root