summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-04-26 19:30:25 +0300
committerLars Wirzenius <liw@liw.fi>2024-04-26 19:30:25 +0300
commit7deb233d7c1cce1915d943ffd1402b68aea49508 (patch)
treedbca8415e86ad663f2bfd70665bcbeda8345fcc7
parent12e47d38446f37fddcec07064382c99c97ea166c (diff)
downloadansibleness-7deb233d7c1cce1915d943ffd1402b68aea49508.tar.gz
kea, exolobe1: set up for Puomi development
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
-rw-r--r--ansible/kea.yml26
-rw-r--r--v-i/exolobe1-spec.yaml7
-rw-r--r--v-i/kea-spec.yaml4
3 files changed, 12 insertions, 25 deletions
diff --git a/ansible/kea.yml b/ansible/kea.yml
index b21f6be..6ff8225 100644
--- a/ansible/kea.yml
+++ b/ansible/kea.yml
@@ -1,14 +1,12 @@
- hosts: kea
remote_user: root
- become: no
roles:
- role: sane_debian_system
- - comfortable-debian-system
- - intel-wifi
- - ssd
- - sshd
- - unix_users
- - puomi
+ - role: sshd
+ - role: ssd
+ - role: puomi
+ tags:
+ - puomi
vars:
ansible_python_interpreter: /usr/bin/python3
@@ -23,15 +21,11 @@
- repo: |
deb http://security.debian.org/debian-security bookworm-security main contrib non-free
- unix_users_version: 2
- unix_users:
- - username: liw
- comment: Lars Wirzenius
-
sshd_version: 1
- sshd_host_key: "{{ lookup('pipe', 'sshca host private-key kea') }}"
- sshd_host_cert: "{{ lookup('pipe', 'sshca host certify --ca liw.fi/ca/host/v5 kea') }}"
- sshd_user_ca_pub: "{{ lookup('pipe', 'sshca ca public-key liw.fi/ca/user/v5') }}"
puomi_version: 1
- puomi_lan_ip: 10.2.0.1
+ puomi_lan_ip: 10.1.1.1
+ puomi_dhcp_start: 10.1.1.10
+ puomi_dhcp_end: 10.1.1.250
+ puomi_dhcp_netmask: 255.255.255.0
+ puomi_dhcp_lease: 1h
diff --git a/v-i/exolobe1-spec.yaml b/v-i/exolobe1-spec.yaml
index cdfbaf3..6dde289 100644
--- a/v-i/exolobe1-spec.yaml
+++ b/v-i/exolobe1-spec.yaml
@@ -1,9 +1,6 @@
hostname: exolobe1
-luks: asdf
drive: /dev/sda
-extra_lvs:
- - name: home
- size: 300G
- mounted: /home
ansible_vars_files:
- hostid.yml
+ansible_vars:
+ passwordless_root: true
diff --git a/v-i/kea-spec.yaml b/v-i/kea-spec.yaml
index d19609c..9fee708 100644
--- a/v-i/kea-spec.yaml
+++ b/v-i/kea-spec.yaml
@@ -1,9 +1,5 @@
hostname: kea
drive: /dev/sda
-extra_lvs:
- - name: home
- size: 20G
- mounted: /home
ansible_vars_files:
- hostid.yml
ansible_vars: