summaryrefslogtreecommitdiffstats
path: root/xci/installer/kubespray/playbooks/configure-opnfvhost.yml
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-03-20 10:20:35 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-20 10:20:35 +0000
commit6b7f320c96e77fee0bc1d9d5b42e14a1271a37d1 (patch)
tree129d873c40da7f010c99cd572a128253898e4f78 /xci/installer/kubespray/playbooks/configure-opnfvhost.yml
parentf6f8a157851264d038a500707cbd5f46d0862057 (diff)
parentedf351b82f6df2b5fd91c02be9f22f7ae4dccc55 (diff)
Merge "Access the K8s dashboard and configure the CLI in opnfv host"
Diffstat (limited to 'xci/installer/kubespray/playbooks/configure-opnfvhost.yml')
-rw-r--r--xci/installer/kubespray/playbooks/configure-opnfvhost.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/xci/installer/kubespray/playbooks/configure-opnfvhost.yml b/xci/installer/kubespray/playbooks/configure-opnfvhost.yml
index 4db9ac1a..d6e1d7b8 100644
--- a/xci/installer/kubespray/playbooks/configure-opnfvhost.yml
+++ b/xci/installer/kubespray/playbooks/configure-opnfvhost.yml
@@ -62,6 +62,13 @@
state: present
update_cache: "{{ (ansible_pkg_mgr == 'apt') | ternary('yes', omit) }}"
when: XCI_FLAVOR == 'aio'
+
+ - name: change dashboard server type to NodePort
+ lineinfile:
+ path: "{{ remote_xci_path }}/.cache/repos/kubespray/roles/kubernetes-apps/ansible/templates/dashboard.yml.j2"
+ insertafter: 'targetPort'
+ line: " type: NodePort"
+
- name: pip install ansible
pip:
name: ansible