From 865c91b27213833d393d491921a6e000f0b65c42 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 11 Oct 2025 11:41:28 +0200 Subject: Configure ssh with regular user and sudo --- infrastructure/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'infrastructure/README.md') 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 +``` -- cgit v1.2.3