summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-10-16 11:00:14 +0300
committerLars Wirzenius <liw@liw.fi>2021-10-16 11:00:14 +0300
commitb60a1a01303ecb4d8d76b27c8c6cbf1f54bd8843 (patch)
treeb9d46855fefcb1dbd9d93caf84a4afbcb96cfdd4
parent9bacd126822217c0c36ca1c8e98f6727434b7c8f (diff)
downloadansibleness-b60a1a01303ecb4d8d76b27c8c6cbf1f54bd8843.tar.gz
install the right SSH keys on atuin, e2, h2, mirror-git, sequoia-dev
Sponsored-by: author
-rw-r--r--ansible/atuin.liw.fi.yml10
-rw-r--r--ansible/exolobe2.yml4
-rw-r--r--ansible/holywood2.yml1
-rw-r--r--ansible/mirror-git.yml6
-rw-r--r--ansible/sequoia-dev.yml2
5 files changed, 22 insertions, 1 deletions
diff --git a/ansible/atuin.liw.fi.yml b/ansible/atuin.liw.fi.yml
index deeb08c..9100c60 100644
--- a/ansible/atuin.liw.fi.yml
+++ b/ansible/atuin.liw.fi.yml
@@ -57,6 +57,11 @@
authorized_keys: |
{{ liw_ssh_pub }}
{{ liw_hetzner_ssh_pub }}
+ - username: root
+ sudo: yes
+ authorized_keys: |
+ {{ liw_ssh_pub }}
+ {{ liw_hetzner_ssh_pub }}
mailname: atuin.liw.fi
smarthost: pieni.net
@@ -147,6 +152,11 @@
authorized_keys: |
{{ liw_ssh_pub }}
{{ liw_hetzner_ssh_pub }}
+ - username: root
+ sudo: yes
+ authorized_keys: |
+ {{ liw_ssh_pub }}
+ {{ liw_hetzner_ssh_pub }}
- username: liw-laptop
comment: Lars Wirzenius
authorized_keys: |
diff --git a/ansible/exolobe2.yml b/ansible/exolobe2.yml
index 006083e..26cdc76 100644
--- a/ansible/exolobe2.yml
+++ b/ansible/exolobe2.yml
@@ -33,6 +33,10 @@
sudo: yes
authorized_keys: |
{{ liw_personal_ssh_pub }}
+ - username: ansible
+ sudo: yes
+ authorized_keys: |
+ {{ liw_personal_ssh_pub }}
mailname: "{{ sane_debian_system_hostname }}.liw.fi"
relayhost: pieni.net:587
diff --git a/ansible/holywood2.yml b/ansible/holywood2.yml
index 7aa3f40..7175e9e 100644
--- a/ansible/holywood2.yml
+++ b/ansible/holywood2.yml
@@ -35,6 +35,7 @@
ssh_key_pub: "{{ root_at_holywood2_ssh_key_pub }}"
authorized_keys: |
{{ liw_ssh_pub }}
+ {{ liw_personal_ssh_pub }}
mailname: "{{ sane_debian_system_hostname }}.liw.fi"
relayhost: pieni.net:587
diff --git a/ansible/mirror-git.yml b/ansible/mirror-git.yml
index e051391..c575211 100644
--- a/ansible/mirror-git.yml
+++ b/ansible/mirror-git.yml
@@ -53,11 +53,17 @@
- username: root
authorized_keys: |
{{ liw_ssh_pub }}
+ {{ liw_personal_ssh_pub }}
+ - username: debian
+ authorized_keys: |
+ {{ liw_ssh_pub }}
+ {{ liw_personal_ssh_pub }}
- username: liw
comment: Lars Wirzenius
sudo: true
authorized_keys: |
{{ liw_ssh_pub }}
+ {{ liw_personal_ssh_pub }}
ssh_key: |
{{ lookup('pipe', 'pass show ssh/liw@mirror-git') }}
ssh_key_pub: |
diff --git a/ansible/sequoia-dev.yml b/ansible/sequoia-dev.yml
index 8558614..065a6d1 100644
--- a/ansible/sequoia-dev.yml
+++ b/ansible/sequoia-dev.yml
@@ -53,4 +53,4 @@
- username: liw
comment: Lars Wirzenius
authorized_keys: |
- {{ liw_ssh_pub }}
+ {{ liw_personal_ssh_pub }}