aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--infrastructure/README.md7
-rw-r--r--infrastructure/production.yaml11
-rw-r--r--infrastructure/ssh-root.yaml11
3 files changed, 18 insertions, 11 deletions
diff --git a/infrastructure/README.md b/infrastructure/README.md
index e69de29..ede57db 100644
--- a/infrastructure/README.md
+++ b/infrastructure/README.md
@@ -0,0 +1,7 @@
+# Infrastructure
+
+To bootstrap, ensure you can `ssh root@ñix.es`, and then:
+
+```
+uv run ansible-playbook -i ssh-root.yaml -i production.yaml site.yaml
+```
diff --git a/infrastructure/production.yaml b/infrastructure/production.yaml
index 6800693..fcae6b9 100644
--- a/infrastructure/production.yaml
+++ b/infrastructure/production.yaml
@@ -1,14 +1,3 @@
-ungrouped:
- hosts:
- ñix.es:
- ansible_user: root
- ansible_password: !vault |
- $ANSIBLE_VAULT;1.1;AES256
- 39363263386664333461653735393230373335653736613239653564336564343839366664313037
- 6666376438333065353836623133653339333761656238380a646630353364626565383330633139
- 66643762323130663763643061333862666539633832356663663832376239326534393837356237
- 6532373435616636650a343532616364623864373863376166333538306130626637373235616130
- 38666666623932363937336532343633353732643434616536666339343630663564
all:
vars:
users:
diff --git a/infrastructure/ssh-root.yaml b/infrastructure/ssh-root.yaml
new file mode 100644
index 0000000..4bd0386
--- /dev/null
+++ b/infrastructure/ssh-root.yaml
@@ -0,0 +1,11 @@
+ungrouped:
+ hosts:
+ ñix.es:
+ ansible_user: root
+ ansible_password: !vault |
+ $ANSIBLE_VAULT;1.1;AES256
+ 39363263386664333461653735393230373335653736613239653564336564343839366664313037
+ 6666376438333065353836623133653339333761656238380a646630353364626565383330633139
+ 66643762323130663763643061333862666539633832356663663832376239326534393837356237
+ 6532373435616636650a343532616364623864373863376166333538306130626637373235616130
+ 38666666623932363937336532343633353732643434616536666339343630663564