Commit 41d61e26 authored by Bengt Giger's avatar Bengt Giger

Merge branch 'master' of gitlab.ethz.ch:k8s-let/k8s-argocd

parents f177ed93 413ceb4f
Pipeline #81495 passed with stage
in 12 seconds
......@@ -18,11 +18,12 @@ cd ansible
ansible-galaxy collection install -r roles/requirements.yml
```
Install tools from `ansible` directory on local machine; must be *root*, use sudo or root account (without sudo):
Install tools from `ansible` directory on local machine; as *root*, use sudo or root account (without sudo):
```
sudo ansible-playbook -l localhost pb_controlhost.yml
```
See the ansible subdirectory README for instructions to install as non root user.
Configure Rancher CLI
......
......@@ -10,7 +10,14 @@ Install/update some tools with this playbook run:
sudo ansible-playbook -l localhost pb_controlhost.yml
```
Binaries will be installed in `/usr/local/bin`. Tools installed:
Binaries will be installed in `/usr/local/bin`, or set the directory with
```
ansible-playbook -e "k8s_install_basedir=$HOME/bin k8s_tarball_cache=$HOME/.cache/k8s_tarball -l localhost pb_controlhost.yml
```
Tools installed:
- kubectl
- argocd CLI
......
---
k8s_install_basedir: /usr/local/bin
k8s_tarball_cache: /root/.k8s_tool_tarballs
k8s_tarball_cache: /tmp/.k8s_tool_tarballs
k8s_sealedsecrets_controller_name: sealed-secrets
k8s_sealedsecrets_controller_namespace: kube-system
......
---
- name: OS specific tasks
include_tasks: "{{ ansible_os_family | lower }}.yml"
when: ansible_user_id == "root"
- name: Install kubectl
package:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment