summaryrefslogtreecommitdiffstats
path: root/xci/installer/kubespray/playbooks/configure-opnfvhost.yml
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-04-17 10:39:10 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-17 10:39:10 +0000
commit164e43f7e8f3b2c7767445969414457fb58030fe (patch)
treec468c1dc093078c9d1d8b07af6c91a63481f75a3 /xci/installer/kubespray/playbooks/configure-opnfvhost.yml
parentc02dddca973bbd3dd160c41000d4036363e94db0 (diff)
parente99fb1e677516c2951542d1eee62166246244ca8 (diff)
Merge "xci: kubespray: Fix inventory when configuring keys on targethosts"
Diffstat (limited to 'xci/installer/kubespray/playbooks/configure-opnfvhost.yml')
-rw-r--r--xci/installer/kubespray/playbooks/configure-opnfvhost.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/xci/installer/kubespray/playbooks/configure-opnfvhost.yml b/xci/installer/kubespray/playbooks/configure-opnfvhost.yml
index 697d44c2..ac8988da 100644
--- a/xci/installer/kubespray/playbooks/configure-opnfvhost.yml
+++ b/xci/installer/kubespray/playbooks/configure-opnfvhost.yml
@@ -57,10 +57,13 @@
insertafter: 'targetPort'
line: " type: NodePort"
- - name: pip install ansible
+ - name: pip install required packages
pip:
- name: ansible
- version: "{{ xci_kube_ansible_pip_version }}"
+ name: "{{ item.name }}"
+ version: "{{ item.version | default(omit) }}"
+ with_items:
+ - { name: 'ansible', version: "{{ xci_kube_ansible_pip_version }}" }
+ - { name: 'netaddr' }
- name: Configure SSL certificates
include_tasks: "{{ xci_path }}/xci/playbooks/manage-ssl-certs.yml"