Merge pull request #1189 from webrecorder/microk8s-ansible-docs
Small Microk8s Ansible Fixes
This commit is contained in:
commit
e9f004ad5e
@ -28,3 +28,10 @@ microk8s_plugins:
|
|||||||
registry: true # Private image registry exposed on localhost:32000
|
registry: true # Private image registry exposed on localhost:32000
|
||||||
storage: true # Storage class; allocates storage from host
|
storage: true # Storage class; allocates storage from host
|
||||||
cert-manager: true # Cert manager
|
cert-manager: true # Cert manager
|
||||||
|
|
||||||
|
|
||||||
|
# These options are only necessary for HTTPS
|
||||||
|
enable_signing: false # Change this if you want HTTPS
|
||||||
|
signing_domain: "mydomain.com" # Set to your domain for HTTPS
|
||||||
|
cert_email: "user@mydomain.com" # Email for CertBot
|
||||||
|
signing_authtoken: "{{ 99999999 | random | to_uuid }}"
|
||||||
|
@ -13,12 +13,22 @@ To run this ansible playbook, you need to:
|
|||||||
- Make sure you can ssh to it, with a sudo user: ssh <your-user>@<your-domain>
|
- Make sure you can ssh to it, with a sudo user: ssh <your-user>@<your-domain>
|
||||||
- Install Ansible on your local machine (the control machine).
|
- Install Ansible on your local machine (the control machine).
|
||||||
|
|
||||||
|
!!! note
|
||||||
|
|
||||||
|
Ansible requires an SSH key with no password. You cannot use a passphrase.
|
||||||
|
Sudo must similarly be available without a passphrase for ansible to work
|
||||||
|
|
||||||
|
??? info Debian Users
|
||||||
|
|
||||||
|
You will need to install `acl` on the target Ansible machine to set permissions:
|
||||||
|
`sudo apt-get install acl`
|
||||||
|
|
||||||
#### Install
|
#### Install
|
||||||
|
|
||||||
1. Clone the repo:
|
1. Clone the repo:
|
||||||
```zsh
|
```zsh
|
||||||
git clone https://github.com/webrecorder/browsertrix-cloud.git
|
git clone https://github.com/webrecorder/browsertrix-cloud.git
|
||||||
cd browsertrix-cloud
|
cd browsertrix-cloud/ansible
|
||||||
```
|
```
|
||||||
|
|
||||||
2. [Look at the configuration options](https://github.com/webrecorder/browsertrix-cloud/blob/main/ansible/group_vars/microk8s/main.yml) and modify them or pass them as extra variables as shown below.
|
2. [Look at the configuration options](https://github.com/webrecorder/browsertrix-cloud/blob/main/ansible/group_vars/microk8s/main.yml) and modify them or pass them as extra variables as shown below.
|
||||||
|
Loading…
Reference in New Issue
Block a user