aboutsummaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
Diffstat (limited to 'infrastructure')
-rw-r--r--infrastructure/README.md6
-rw-r--r--infrastructure/local-exec.yaml4
2 files changed, 10 insertions, 0 deletions
diff --git a/infrastructure/README.md b/infrastructure/README.md
index 757152a..56ba48d 100644
--- a/infrastructure/README.md
+++ b/infrastructure/README.md
@@ -29,6 +29,12 @@ After [setting your user password](roles/users/README.md):
uv run ansible-playbook -K -i production.yaml site.yaml
```
+Or run from the same host with:
+
+```
+uv run ansible-playbook -K -i local-exec.yaml -i production.yaml site.yaml
+```
+
## Roles
* The [users](roles/users) role to add new users
diff --git a/infrastructure/local-exec.yaml b/infrastructure/local-exec.yaml
new file mode 100644
index 0000000..7319064
--- /dev/null
+++ b/infrastructure/local-exec.yaml
@@ -0,0 +1,4 @@
+ungrouped:
+ hosts:
+ ñix.es:
+ ansible_connection: local