diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-10-28 07:28:06 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-10-28 07:28:06 +0300 |
commit | 2569f9cbb0fdfe9e93095c757fc80701ca03bec9 (patch) | |
tree | f91ee898ee21986244a16e102d0dcf46a7c8f1b4 | |
parent | 2bbdec454488e63d5e446c930d4289cbc6ac72d7 (diff) | |
download | ansibleness-2569f9cbb0fdfe9e93095c757fc80701ca03bec9.tar.gz |
x220-puomi: add vmadm spec and playbook for x220 running Puomi
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
-rw-r--r-- | ansible/x220-puomi.yml | 31 | ||||
-rw-r--r-- | v-i/x220-puomi-spec.yaml | 8 |
2 files changed, 39 insertions, 0 deletions
diff --git a/ansible/x220-puomi.yml b/ansible/x220-puomi.yml new file mode 100644 index 0000000..d376ff3 --- /dev/null +++ b/ansible/x220-puomi.yml @@ -0,0 +1,31 @@ +- hosts: x220 + remote_user: root + roles: + - role: sane_debian_system + - role: ssd + - role: sshd + - role: intel-wifi + - role: puomi + + vars: + ansible_python_interpreter: /usr/bin/python3 + + sane_debian_system_version: 2 + sane_debian_system_hostname: "{{ inventory_hostname }}" + sane_debian_system_codename: bookworm + sane_debian_system_timezone: Europe/Helsinki + sane_debian_system_sources_lists: + - repo: | + deb http://security.debian.org/debian-security bookworm-security main contrib non-free + + - repo: | + deb http://deb.debian.org/debian bookworm-backports main contrib non-free + + sshd_version: 1 + + puomi_version: 1 + puomi_lan_ip: 10.3.1.1 + puomi_dhcp_start: 10.3.1.10 + puomi_dhcp_end: 10.3.1.250 + puomi_dhcp_netmask: 255.255.255.0 + puomi_dhcp_lease: 1h diff --git a/v-i/x220-puomi-spec.yaml b/v-i/x220-puomi-spec.yaml new file mode 100644 index 0000000..98d32fb --- /dev/null +++ b/v-i/x220-puomi-spec.yaml @@ -0,0 +1,8 @@ +hostname: x220 +drive: /dev/sda +extra_playbooks: + - puomi-playbook.yml +ansible_vars_files: + - hostid.yml +ansible_vars: + passwordless_root: true |