aboutsummaryrefslogtreecommitdiff
path: root/infrastructure/README.md
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-10-11 11:41:28 +0200
committeralex <alex@pdp7.net>2025-10-11 11:41:28 +0200
commit865c91b27213833d393d491921a6e000f0b65c42 (patch)
tree139e1b965d906039bbd9d33f279e572cef80870f /infrastructure/README.md
parentf7496b7c1a04156f16df31dc08a1aa9d84123ff3 (diff)
Configure ssh with regular user and sudo
Diffstat (limited to 'infrastructure/README.md')
-rw-r--r--infrastructure/README.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/infrastructure/README.md b/infrastructure/README.md
index ede57db..ad41524 100644
--- a/infrastructure/README.md
+++ b/infrastructure/README.md
@@ -1,7 +1,18 @@
# Infrastructure
-To bootstrap, ensure you can `ssh root@ñix.es`, and then:
+## Bootstrapping
+
+Ensure you can `ssh root@ñix.es`, and then:
```
uv run ansible-playbook -i ssh-root.yaml -i production.yaml site.yaml
```
+
+## 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
+```