2019-05-30 09:53:43 -04:00
|
|
|
---
|
|
|
|
- name: configure static hostfile entry for starbase4.consolo.lan
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/hosts
|
|
|
|
line: "10.4.21.100 starbase4 starbase4.consolo.lan"
|
|
|
|
- name: configure static hostfile entry for errbit.consolo.lan
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/hosts
|
|
|
|
line: "10.4.21.136 errbit.consolo.lan"
|
|
|
|
- name: configure static hostfile entry for api-doc.consolo.lan
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/hosts
|
|
|
|
line: "10.4.21.100 api-docs.consolo.lan"
|
|
|
|
- name: configure static hostfile entry for lxd.consolo.lan
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/hosts
|
|
|
|
line: "10.4.21.253 lxd.consolo.lan mattermost.lxd.consolo.lan"
|
|
|
|
- name: configure static hostfile entry for git.lxd.consolo.lan
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/hosts
|
|
|
|
line: "10.4.21.230 git.lxd.consolo.lan"
|
|
|
|
- name: install apt applications
|
|
|
|
apt:
|
|
|
|
name: python3-pip,python3-setuptools,python3-yaml,python3-wheel,socat,vpnc
|
|
|
|
state: present
|
|
|
|
- name: install pip applications
|
|
|
|
pip:
|
|
|
|
name: awscli,saws
|
|
|
|
state: present
|
|
|
|
- name: install kubectl
|
2019-06-26 12:34:24 -04:00
|
|
|
shell: curl -sLo /tmp/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.15.0/bin/linux/amd64/kubectl && install -m 755 /tmp/kubectl /usr/local/bin/kubectl-1.15.0 && rm -f /tmp/kubectl && ln -sf /usr/local/bin/kubectl-1.15.0 /usr/local/bin/kubectl
|
2019-05-30 09:53:43 -04:00
|
|
|
args:
|
|
|
|
warn: False
|
2019-06-26 12:34:24 -04:00
|
|
|
creates: /usr/local/bin/kubectl-1.15.0
|
2019-05-30 09:53:43 -04:00
|
|
|
- name: install kops
|
|
|
|
shell: curl -sLo /tmp/kops -L https://github.com/kubernetes/kops/releases/download/1.10.0/kops-linux-amd64 && install -m 755 /tmp/kops /usr/local/bin/kops-1.10.0 && rm -f /tmp/kops && ln -sf /usr/local/bin/kops-1.10.0 /usr/local/bin/kops
|
|
|
|
args:
|
|
|
|
warn: False
|
2019-06-26 12:34:24 -04:00
|
|
|
creates: /usr/local/bin/kops-1.12.2
|
2019-05-30 09:53:43 -04:00
|
|
|
- name: install minikube
|
2019-06-26 12:34:24 -04:00
|
|
|
shell: curl -sLo /tmp/minikube https://storage.googleapis.com/minikube/releases/v1.12.2/minikube-linux-amd64 && install -m 755 /tmp/minikube /usr/local/bin/minikube-1.12.2 && rm -f /tmp/minikube && ln -sf /usr/local/bin/minikube-1.12.2 /usr/local/bin/minikube
|
2019-05-30 09:53:43 -04:00
|
|
|
args:
|
|
|
|
warn: False
|
2019-06-26 12:34:24 -04:00
|
|
|
creates: /usr/local/bin/minikube-1.12.2
|
2019-05-30 09:53:43 -04:00
|
|
|
- name: install helm
|
2019-06-26 12:34:24 -04:00
|
|
|
shell: curl -sLo /tmp/helm.tar.gz https://storage.googleapis.com/kubernetes-helm/helm-v2.14.1-linux-amd64.tar.gz && mkdir -p /tmp/helm && tar xzf /tmp/helm.tar.gz -C /tmp/helm && install -m 755 /tmp/helm/linux-amd64/helm /usr/local/bin/helm-2.14.1 && rm -rf /tmp/helm* && ln -sf /usr/local/bin/helm-2.14.1 /usr/local/bin/helm
|
2019-05-30 09:53:43 -04:00
|
|
|
args:
|
2019-06-26 12:34:24 -04:00
|
|
|
warn: False
|
|
|
|
creates: /usr/local/bin/helm-2.14.1
|
2019-06-03 10:37:45 -04:00
|
|
|
- name: install k9s
|
2019-06-26 12:34:24 -04:00
|
|
|
shell: curl -sLo /tmp/k9s.tar.gz https://github.com/derailed/k9s/releases/download/0.7.11/k9s_0.7.11_Linux_x86_64.tar.gz && tar xzf /tmp/k9s.tar.gz -C /tmp && install -m 755 /tmp/k9s /usr/local/bin/k9s-0.7.11 && rm -f /tmp/k9s* && ln -sf /usr/local/bin/k9s-0.7.11 /usr/local/bin/k9s
|
2019-06-03 10:37:45 -04:00
|
|
|
args:
|
|
|
|
warn: False
|
2019-06-26 12:34:24 -04:00
|
|
|
creates: /usr/local/bin/k9s-0.7.11
|
2019-06-03 10:37:45 -04:00
|
|
|
- name: install popeye
|
2019-06-26 12:34:24 -04:00
|
|
|
shell: curl -sLo /tmp/popeye.tar.gz https://github.com/derailed/popeye/releases/download/v0.3.12/popeye_0.3.12_Linux_x86_64.tar.gz && tar xzf /tmp/popeye.tar.gz -C /tmp && install -m 755 /tmp/popeye /usr/local/bin/popeye-0.3.12 && rm -f /tmp/popeye* && ln -sf /usr/local/bin/popeye-0.3.12 /usr/local/bin/popeye
|
2019-06-03 10:37:45 -04:00
|
|
|
args:
|
|
|
|
warn: False
|
2019-06-26 12:34:24 -04:00
|
|
|
creates: /usr/local/bin/popeye-0.3.12
|
2019-06-03 10:37:45 -04:00
|
|
|
- name: install stern
|
|
|
|
shell: curl -sLo /tmp/stern_linux_amd64 https://github.com/wercker/stern/releases/download/1.10.0/stern_linux_amd64 && install -m 755 /tmp/stern_linux_amd64 /usr/local/bin/stern-1.10.0 && rm -f /tmp/stern_linux_amd64 && ln -sf /usr/local/bin/stern-1.10.0 /usr/local/bin/stern
|
|
|
|
args:
|
|
|
|
warn: False
|
|
|
|
creates: /usr/local/bin/stern-1.10.0
|