aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoransible_admin <capsul@cyberia.club>2020-12-16 22:01:42 +0000
committeransible_admin <capsul@cyberia.club>2020-12-16 22:01:42 +0000
commit06af234bedff0b6cb85ef5981eeea68bafa28697 (patch)
tree8e29f1a70d47514bc4e7126f61a0887b5650da76
parent087ce632d45ca1f32375ad24a19b2b31395333de (diff)
downloadops-handbook-06af234bedff0b6cb85ef5981eeea68bafa28697.tar.gz
ops-handbook-06af234bedff0b6cb85ef5981eeea68bafa28697.tar.bz2
Redo repos
-rw-r--r--ansible/roles/common/tasks/main.yml9
-rw-r--r--ansible/roles/common/templates/alpine@sr.ht.rsa.pub.j210
2 files changed, 19 insertions, 0 deletions
diff --git a/ansible/roles/common/tasks/main.yml b/ansible/roles/common/tasks/main.yml
index 9b70022..1416ffa 100644
--- a/ansible/roles/common/tasks/main.yml
+++ b/ansible/roles/common/tasks/main.yml
@@ -69,6 +69,15 @@
group: root
mode: 0644
notify: update-apk
+
+- name: Configure srht signing key
+ template:
+ src: alpine@sr.ht.rsa.pub.j2
+ dest: /etc/apk/keys/alpine@sr.ht.rsa.pub
+ owner: root
+ group: root
+ mode: 0644
+ notify: update-apk
- name: Configure Sudoers
# what were we replacing again?
diff --git a/ansible/roles/common/templates/alpine@sr.ht.rsa.pub.j2 b/ansible/roles/common/templates/alpine@sr.ht.rsa.pub.j2
new file mode 100644
index 0000000..656516d
--- /dev/null
+++ b/ansible/roles/common/templates/alpine@sr.ht.rsa.pub.j2
@@ -0,0 +1,10 @@
+-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Xz+dp7AfkiIjin35/D/
+o/WHs4bup9CCIrp2mtPU/ggpdUEKEJoOGfHvvnxHJsXISC9S2B5CgZWEWEpzQXln
+XOig++cukGCZBCV0px4p2+5NJjtws6y0sWo5cuHBnQK9b3K/VPxpMMq3dwFZ0+Oj
+719yGH1aDUz/xmsU/j2mtMWDTia2LoqBarznjXBcm73nAKGDc9uZxUv2ThseGGn/
+T6+pd3fA5KIIBr4LvOAY3dheD1cAEDq7tHEwgSD7lEskhdSqQAq5ZDQErFIJuO1l
+DUFHmt3ag26jgkbE0bbYjSN+Yx+Iisb9bFruA9absmdi9BVFGDcLm+Ymnu2UdnuC
+vQIDAQAB
+-----END PUBLIC KEY-----
+