summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-08-23 16:55:57 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-08-23 16:55:57 +0200
commit6986049208012ad30bcd05453a98cf947d4746b1 (patch)
tree9910748127bca59fe394195c041d49c1d8e22a31 /inventory
parentsk-2019: enable sanoid (diff)
ssh-extra-keys for root user
Diffstat (limited to 'inventory')
-rw-r--r--inventory/group_vars/all/main.yml1
-rw-r--r--inventory/host_vars/ch-prometheus.yml4
2 files changed, 5 insertions, 0 deletions
diff --git a/inventory/group_vars/all/main.yml b/inventory/group_vars/all/main.yml
index afec7b49..accb807e 100644
--- a/inventory/group_vars/all/main.yml
+++ b/inventory/group_vars/all/main.yml
@@ -10,6 +10,7 @@ global_files_dir: "{{ inventory_dir }}/../files"
ssh_users_root:
- equinox
ssh_keys_root: "{{ ssh_users_root | default([]) | map('extract', users) | map(attribute='ssh') | flatten | list }}"
+ssh_keys_root_extra: []
admin_users_host: []
sshd_allowusers_host: "{{ admin_users_host }}"
diff --git a/inventory/host_vars/ch-prometheus.yml b/inventory/host_vars/ch-prometheus.yml
index b79cc586..54190538 100644
--- a/inventory/host_vars/ch-prometheus.yml
+++ b/inventory/host_vars/ch-prometheus.yml
@@ -40,6 +40,10 @@ apt_repo_components:
- non-free ## for microcode updates
+ssh_keys_root_extra:
+ - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAw9/ofN1TOzfQNUw2WOLc1Zge0M3syzn9dzm9StkgxK root@prometheus
+ - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9AkOBxvf1wZ0B3wEyf7O3GbaIGx5o2f6cVuQIrOjeFfgMSAr1LwiB/gmHhMSEq6OSauD37TA5yDIrzk6NPPjVs/wiklsHgYtTqIxSPItTZFPX4gLvNwwGuRvEW9bTEiHd+bVPIiIT7HOje0kgacjan44rdgppX9DgcUp2j7uSZZabsxDCS/ms0slhwBNU1gtR31PoQ56vIya23D2uMauNAbRJzDEOfAjy4pHF8njYcXPas/yrbLi8PUZ1YO1u/AZto96EIYfHaCLWlstqeCX+R2JrTunvfTr8TF3AkFw8lHMzk3neUR+tPAAFQaqeTlqGPiSNq1Oyf+52XR16qwhd equinox@mail
+
installer_lvm:
vg: "{{ host_name }}"
lv: installer