summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-12-29 15:24:08 +0200
committerLars Wirzenius <liw@liw.fi>2021-12-29 15:24:08 +0200
commitde9d09e132f3c80b76ebd031fd0a24d4f35b8116 (patch)
tree6e6af5f9b428fae9daba76a520af218d462d37f2
parent6a400e5bc9a08c07bc20cf15f3bcd7548612470d (diff)
downloadick2-ansible-de9d09e132f3c80b76ebd031fd0a24d4f35b8116.tar.gz
fix so I can deploy a worker with vmadm on exolobe5
Sponsored-by: author
-rw-r--r--group_vars/all.yml2
-rw-r--r--ick-workers.yml10
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