- src: andrewrothstein.go
version: v2.1.10
- src: andrewrothstein.kubectl
- version: v1.1.12
+ version: v1.1.16
- src: andrewrothstein.kubernetes-helm
version: v1.2.9
- src: geerlingguy.docker
- version: 2.5.1
+ version: 2.5.2
# _install_go() - Install GoLang package
function _install_go {
- version=$(grep "go_version" ${krd_playbooks}/krd-vars.yml | awk -F ': ' '{print $2}')
+ version=$(grep "go_version" ${krd_playbooks}/krd-vars.yml | awk -F "'" '{print $2}')
local tarball=go$version.linux-amd64.tar.gz
if $(go version &>/dev/null); then
include_vars:
file: krd-vars.yml
roles:
- - andrewrothstein.kubectl
+ - role: andrewrothstein.kubectl
+ kubectl_ver: "v{{ kubectl_version }}"
- role: andrewrothstein.kubernetes-helm
- kubernetes_helm_ver: v2.9.1
+ kubernetes_helm_ver: "v{{ helm_client_version }}"
tasks:
- name: create istio folder
file:
include_vars:
file: krd-vars.yml
roles:
- - { role: andrewrothstein.go, when: multus_source_type == "source" }
+ - role: andrewrothstein.go
+ go_ver: "{{ go_version }}"
+ when: multus_source_type == "source"
environment:
PATH: "{{ ansible_env.PATH }}:/usr/local/go/bin/"
tasks:
}
- hosts: localhost
+ pre_tasks:
+ - name: Load krd variables
+ include_vars:
+ file: krd-vars.yml
roles:
- - andrewrothstein.kubectl
+ - role: andrewrothstein.kubectl
+ kubectl_ver: "v{{ kubectl_version }}"
tasks:
- name: define a CRD network object specification
blockinfile:
- hosts: localhost
become: yes
roles:
- - andrewrothstein.kubectl
+ - role: andrewrothstein.kubectl
+ kubectl_ver: "v{{ kubectl_version }}
tasks:
- name: create service accounts
command: "/usr/local/bin/kubectl apply -f /tmp/{{ item }}"
central_node_ip: "{{ hostvars[groups['ovn-central'][0]]['ansible_ssh_host'] }}"
environment:
PATH: "{{ ansible_env.PATH }}:/usr/local/go/bin/"
+ pre_tasks:
+ - name: Load krd variables
+ include_vars:
+ file: krd-vars.yml
roles:
- role: andrewrothstein.go
+ go_ver: "{{ go_version }}"
tasks:
- name: Load krd variables
include_vars:
include_vars:
file: krd-vars.yml
roles:
- - andrewrothstein.kubectl
- - { role: geerlingguy.docker, when: virtlet_source_type == "source" }
+ - role: andrewrothstein.kubectl
+ kubectl_ver: "v{{ kubectl_version }}"
+ - role: geerlingguy.docker
+ when: virtlet_source_type == "source"
tasks:
- name: create Virtlet binary folder
file:
#criproxy_url: "https://github.com/Mirantis/criproxy"
virtlet_dest: "{{ base_dest }}/virtlet"
virtlet_source_type: "binary"
-virtlet_version: 1.4.1
+virtlet_version: 1.4.2
virtlet_url: "https://github.com/Mirantis/virtlet/releases/download/v{{ virtlet_version }}/virtletctl"
#virtlet_source_type: "source"
#virtlet_version: 68e11b8f1db2c78b063126899f0e60910700975d
istio_version: 1.0.3
istio_url: "https://github.com/istio/istio/releases/download/{{ istio_version }}/istio-{{ istio_version }}-linux.tar.gz"
-go_version: 1.11.1
+go_version: '1.11'
kubespray_version: 2.7.0
+kubectl_version: 1.11.2
+helm_client_version: 2.9.1