blob: 469433439519ec2a4c2f1dcc8d618281bbf09a2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Infrastructure
## Using SSH
Add:
```
Include .../xn--ix-yja.es/infrastructure/ssh_config
```
to your `~/.ssh/config` before any `Host` statement.
## Bootstrapping
Ensure you can `ssh root@ñix.es`, and then:
```
uv run ansible-playbook -i ssh-root.yaml -i production.yaml site.yaml
```
You might need to `systemctl restart apache2` for the Let's Encrypt certificate.
## Running Ansible
After bootstrapping, you can run Ansible via ssh with your user and `sudo`.
After [setting your user password](roles/users/README.md):
```
uv run ansible-playbook -K -i production.yaml site.yaml
```
## Notes
### Contabo Debian 13
* `unattended-upgrades` configured by default
|