Skip to content

Commit 6333264

Browse files
committed
Add missing Ansible inventory sample file
Use correct extension in docs
1 parent 0cc01ee commit 6333264

3 files changed

Lines changed: 43 additions & 4 deletions

File tree

docs-devel/deployment/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ where _cloud\_name_ and _ssh\_key_ are described in the [prerequisites section](
3737
Take a note of the new node ip address and create a new inventory file:
3838

3939
```sh
40-
cp inventory-sample.ini inventory.ini
40+
cp inventory-sample.yml inventory.yml
4141
```
4242

4343
Fill in the new Traefik ip address and deploy Traefik:
4444

4545
```sh
46-
ansible-playbook -i inventory.ini playbooks/traefik/deploy.yml
46+
ansible-playbook -i inventory.yml playbooks/traefik/deploy.yml
4747
```
4848

4949
Once deployed check the Traefik dashboard is available at `https://<domain>/traefik/dashboard/.`
@@ -53,7 +53,7 @@ The passwords are in Keeper.
5353

5454
Now we deploy the remaining services. The deployment order is important as some
5555
services depend on others being available. Each service has a single VM with the
56-
exception of Superset that hosts multiple instances one once machine.
56+
exception of Superset that hosts multiple instances on a single node.
5757

5858
First create the VMs:
5959

infra/ansible-docker/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ condaenv/
33
.venv/
44
galaxy_roles
55
*.ini
6-
/*.yml
6+
inventory.yml
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
all:
2+
vars:
3+
ansible_user: <ssh_user>
4+
ansible_python_interpreter: /usr/bin/python3
5+
ansible_ssh_common_args: '-o ProxyCommand="ssh -W %h:%p -q ubuntu@<floating_ip>"'
6+
7+
traefik:
8+
hosts:
9+
traefik-1:
10+
ansible_host: <floating_ip>
11+
12+
keycloak:
13+
hosts:
14+
keycloak-1:
15+
ansible_host: <keycloak_ip>
16+
17+
lakekeeper:
18+
hosts:
19+
lakekeeper-1:
20+
ansible_host: <lakekeeper_ip>
21+
22+
trino:
23+
hosts:
24+
trino-1:
25+
ansible_host: <trino_ip>
26+
27+
elt:
28+
hosts:
29+
elt-1:
30+
ansible_host: <elt_ip>
31+
32+
superset_accelerator:
33+
hosts:
34+
superset-accelerator-1:
35+
ansible_host: <superset_farm_ip>
36+
37+
superset_farm:
38+
children:
39+
superset_accelerator:

0 commit comments

Comments
 (0)