summaryrefslogtreecommitdiff
path: root/installer-ansible.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-03-05 20:07:48 +0200
committerLars Wirzenius <liw@liw.fi>2022-03-05 20:47:36 +0200
commitbab489cdaec7c129d3ac5f088de9265106cf9114 (patch)
tree676c2cd629729847575ccf4c266297e6ec843d9b /installer-ansible.yml
parent828be7f53844f39a5e1c48375a2b0846945211de (diff)
downloadv-i-bab489cdaec7c129d3ac5f088de9265106cf9114.tar.gz
feat: get root's authorized_keys file at boot up
Sponsored-by: author
Diffstat (limited to 'installer-ansible.yml')
-rw-r--r--installer-ansible.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/installer-ansible.yml b/installer-ansible.yml
index 2d555a0..98b42b6 100644
--- a/installer-ansible.yml
+++ b/installer-ansible.yml
@@ -23,6 +23,11 @@
group: root
mode: 0700
+ - name: "enable v-i-config service"
+ shell: |
+ install -d /etc/systemd/system/ssh.service.wants
+ ln -nsf /etc/systemd/system/v-i-config.service /etc/systemd/system/ssh.service.wants/v-i-config.service
+
- name: "configure keyboard layout"
copy:
content: |