diff options
author | Fatih Degirmenci <fdegir@gmail.com> | 2018-03-20 10:20:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-20 10:20:35 +0000 |
commit | 6b7f320c96e77fee0bc1d9d5b42e14a1271a37d1 (patch) | |
tree | 129d873c40da7f010c99cd572a128253898e4f78 /xci/installer/kubespray/playbooks/configure-opnfvhost.yml | |
parent | f6f8a157851264d038a500707cbd5f46d0862057 (diff) | |
parent | edf351b82f6df2b5fd91c02be9f22f7ae4dccc55 (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.yml | 7 |
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 |