summaryrefslogtreecommitdiff
path: root/v-i
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-04-06 07:43:46 +0300
committerLars Wirzenius <liw@liw.fi>2024-04-06 07:43:46 +0300
commit0e9d76caf602b837cd184d0ef327db80d9e9333d (patch)
tree92b8c0f46571e89b0572400216c06784930ae2e7 /v-i
parentd05660e824c7ef7a5af34428bfd7225c2ce5b87c (diff)
downloadansibleness-0e9d76caf602b837cd184d0ef327db80d9e9333d.tar.gz
tursas: add
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
Diffstat (limited to 'v-i')
-rw-r--r--v-i/tursas-playbook.yml6
-rw-r--r--v-i/tursas-spec.yaml13
2 files changed, 19 insertions, 0 deletions
diff --git a/v-i/tursas-playbook.yml b/v-i/tursas-playbook.yml
new file mode 100644
index 0000000..bfec369
--- /dev/null
+++ b/v-i/tursas-playbook.yml
@@ -0,0 +1,6 @@
+- hosts: image
+ tasks:
+ - lineinfile:
+ path: /etc/systemd/network/external.network
+ regex: "^Name=eth"
+ line: "Name=eth?"
diff --git a/v-i/tursas-spec.yaml b/v-i/tursas-spec.yaml
new file mode 100644
index 0000000..c764796
--- /dev/null
+++ b/v-i/tursas-spec.yaml
@@ -0,0 +1,13 @@
+hostname: tursas
+# luks: asdf
+drive: /dev/nvme0n1
+extra_lvs:
+ - name: home
+ size: 10G
+ mounted: /home
+ansible_vars:
+ passwordless_root: true
+ansible_vars_files:
+ - hostid.yml
+extra_playbooks:
+ - tursas-playbook.yml