summaryrefslogtreecommitdiff
path: root/ansible/qotom.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-08-20 18:19:41 +0300
committerLars Wirzenius <liw@liw.fi>2022-08-20 18:19:41 +0300
commit1f56dee48ce0dffedb6b60eae0965e8151f34061 (patch)
tree77f91d7f50d5e403b72f251f2fd1145cb53ab4f2 /ansible/qotom.yml
parent20f69ab3f2a05499cc78ac96c10170690802b423 (diff)
downloadansibleness-1f56dee48ce0dffedb6b60eae0965e8151f34061.tar.gz
qotom: add
Sponsored-by: author
Diffstat (limited to 'ansible/qotom.yml')
-rw-r--r--ansible/qotom.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/ansible/qotom.yml b/ansible/qotom.yml
new file mode 100644
index 0000000..160f449
--- /dev/null
+++ b/ansible/qotom.yml
@@ -0,0 +1,26 @@
+- hosts: qotom
+ remote_user: root
+ roles:
+ - role: sane_debian_system
+ - role: sshd
+ - role: ssd
+ - role: unix_users
+ - role: puomi
+ vars:
+ ansible_python_interpreter: /usr/bin/python3
+
+ sane_debian_system_version: 2
+ sane_debian_system_hostname: "{{ inventory_hostname }}"
+ sane_debian_system_codename: bullseye
+ sane_debian_system_timezone: Europe/Helsinki
+
+ unix_users_version: 2
+ unix_users:
+ - username: liw
+ comment: Lars Wirzenius
+
+ sshd_version: 1
+ sshd_host_key: "{{ lookup('pipe', 'sshca host private-key qotom') }}"
+ sshd_host_cert: "{{ lookup('pipe', 'sshca host certify liw.fi/ca/host/v3 qotom') }}"
+ sshd_user_ca_pub: "{{ lookup('pipe', 'sshca ca public-key liw.fi/ca/user/v3') }}"
+