commit de7876f45bd0ad47302692c4bae21f7bc858c0ed
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue May 14 10:30:36 2019 +0200
Update authorized_keys for root on builders
roles/koji_builder/tasks/main.yml | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/roles/koji_builder/tasks/main.yml b/roles/koji_builder/tasks/main.yml
index d87d52e..62a2dfa 100644
--- a/roles/koji_builder/tasks/main.yml
+++ b/roles/koji_builder/tasks/main.yml
@@ -52,6 +52,16 @@
tags:
- koji_builder
+- name: root builder .ssh dir
+ file: state=directory path=/root/.ssh mode=700 owner=root group=root
+ tags:
+ - koji_builder
+
+- name: root builder ssh key
+ copy: src=root_auth_keys dest=/root/.ssh/authorized_keys mode=644 owner=root
group=root
+ tags:
+ - koji_builder
+
- name: make a bunch of dirs
file: state=directory path={{ item }}
with_items: