summaryrefslogtreecommitdiffstats
path: root/wiki-edit
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-14 21:35:40 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-14 21:35:40 -0400
commit5266ca74db9f1e1442d957bbd4be17335266b261 (patch)
tree9c6f8d6a9a1ba775fa58ba275037f6219e03bb3c /wiki-edit
parent2d391af591700ae52b4f2630454eb31dcbbdd3ad (diff)
downloademacsconf-ansible-5266ca74db9f1e1442d957bbd4be17335266b261.tar.xz
emacsconf-ansible-5266ca74db9f1e1442d957bbd4be17335266b261.zip
Make docker wiki work
Diffstat (limited to 'wiki-edit')
-rw-r--r--wiki-edit/tasks/main.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/wiki-edit/tasks/main.yaml b/wiki-edit/tasks/main.yaml
index 11ca05b..f7eb650 100644
--- a/wiki-edit/tasks/main.yaml
+++ b/wiki-edit/tasks/main.yaml
@@ -1,4 +1,15 @@
---
+- name: Set up SSH directory
+ ansible.builtin.file:
+ path: /home/ikiwiki/.ssh
+ state: directory
+ mode: '0700'
+- name: Install SSH key for EmacsConf wiki
+ ansible.builtin.get_url:
+ url: https://emacsconf.org/id_rsa_anon_git_emacsconf
+ dest: /home/ikiwiki/.ssh/id_rsa_anon_git_emacsconf
+ mode: '0600'
+ owner: 'ikiwiki'
- name: Set up packages
become: yes
block: