diff options
author | Markos Chandras <mchandras@suse.de> | 2018-04-17 10:39:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-04-17 10:39:10 +0000 |
commit | 164e43f7e8f3b2c7767445969414457fb58030fe (patch) | |
tree | c468c1dc093078c9d1d8b07af6c91a63481f75a3 /xci/installer/kubespray/playbooks/configure-targethosts.yml | |
parent | c02dddca973bbd3dd160c41000d4036363e94db0 (diff) | |
parent | e99fb1e677516c2951542d1eee62166246244ca8 (diff) |
Merge "xci: kubespray: Fix inventory when configuring keys on targethosts"
Diffstat (limited to 'xci/installer/kubespray/playbooks/configure-targethosts.yml')
-rw-r--r-- | xci/installer/kubespray/playbooks/configure-targethosts.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xci/installer/kubespray/playbooks/configure-targethosts.yml b/xci/installer/kubespray/playbooks/configure-targethosts.yml index dd7024fb..c744eae6 100644 --- a/xci/installer/kubespray/playbooks/configure-targethosts.yml +++ b/xci/installer/kubespray/playbooks/configure-targethosts.yml @@ -1,12 +1,13 @@ --- -- hosts: all +- hosts: k8s-cluster remote_user: root tasks: - name: Manage SSH keys include_tasks: "{{ xci_path }}/xci/playbooks/manage-ssh-keys.yml" - - name: Install required packages + + - name: Install dbus package: - name: "{{ kube_require_packages[ansible_pkg_mgr] }}" + name: "{{ (ansible_pkg_mgr == 'zypper') | ternary('dbus-1', 'dbus') }}" state: present update_cache: "{{ (ansible_pkg_mgr == 'apt') | ternary('yes', omit) }}" |