diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-12-31 17:21:42 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-01-01 22:01:31 +0200 |
commit | 8b796467fcef03133c40f88ac331b1a0d06033a8 (patch) | |
tree | 3d11453f15824ea71abda70f4b3e3150b712ab9a /x220.yml | |
parent | 9ace8e9b7d0a15cf6aeeedada8bb7646acc8e6b0 (diff) | |
download | v-i-8b796467fcef03133c40f88ac331b1a0d06033a8.tar.gz |
feat: make X220 install work with cryptsetup and everything
Sponsored-by: author
Diffstat (limited to 'x220.yml')
-rw-r--r-- | x220.yml | 28 |
1 files changed, 25 insertions, 3 deletions
@@ -10,6 +10,28 @@ pre_tasks: + - name: "set hostname manually" + shell: | + echo x220 > /etc/hostname + sed -i 's/^127\.0\.1/127.0.0.1 x220/' /etc/hosts + + - name: "create /root/.ssh" + file: + state: directory + path: /root/.ssh + owner: root + group: root + mode: 0700 + + - name: "set root authorized keys" + copy: + content: | + ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPQe6lsTapAxiwhhEeE/ixuK+5N8esCsMWoekQqjtxjP liw personal systems + dest: /root/.ssh/authorized_keys + owner: root + group: root + mode: 0600 + - name: "configure keyboard layout" copy: content: | @@ -47,12 +69,12 @@ ansible_python_interpreter: /usr/bin/python3 sane_debian_system_version: 2 - sane_debian_system_hostname: x220 - sane_debian_system_codename: buster +# sane_debian_system_hostname: x220 + sane_debian_system_codename: bullseye sane_debian_system_timezone: Europe/Helsinki sane_debian_system_sources_lists: - repo: | - deb http://deb.debian.org/debian buster contrib non-free + deb http://deb.debian.org/debian bullseye contrib non-free unix_users_version: 2 unix_users: |