From de9d09e132f3c80b76ebd031fd0a24d4f35b8116 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 29 Dec 2021 15:24:08 +0200 Subject: fix so I can deploy a worker with vmadm on exolobe5 Sponsored-by: author --- group_vars/all.yml | 2 +- ick-workers.yml | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/group_vars/all.yml b/group_vars/all.yml index 84cdfe3..94bbb04 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -1,4 +1,4 @@ -liw_ssh_key_pub: | +liw_personal_ssh_key_pub: | ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPQe6lsTapAxiwhhEeE/ixuK+5N8esCsMWoekQqjtxjP liw personal systems ci_prep_apt_signing_key: | diff --git a/ick-workers.yml b/ick-workers.yml index a34a4e3..c5d69c5 100644 --- a/ick-workers.yml +++ b/ick-workers.yml @@ -13,6 +13,8 @@ state: restarted name: ick-worker vars: + ansible_python_interpreter: /usr/bin/python3 + sane_debian_system_version: 2 sane_debian_system_codename: buster sane_debian_system_hostname: "{{ inventory_hostname }}" @@ -20,10 +22,14 @@ unix_users_version: 2 unix_users: - username: debian + sudo: yes authorized_keys: | - {{ liw_ssh_key_pub }} + {{ liw_personal_ssh_key_pub }} - username: _ickwm + sudo: yes + ssh_key: "{{ wm_ssh_key }}" + ssh_key_pub: "{{ wm_ssh_key_pub }}" authorized_keys: | - {{ liw_ssh_key_pub }} + {{ liw_personal_ssh_key_pub }} verify_tls: no -- cgit v1.2.1