commit c38e1fc52dc332759eb04e026f80fe132c2ec8a7
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Jul 31 14:41:39 2019 +0200
Avoid sudo on host to sign pubkey
roles/basessh/tasks/main.yml | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/roles/basessh/tasks/main.yml b/roles/basessh/tasks/main.yml
index d50017f..bd4706b 100644
--- a/roles/basessh/tasks/main.yml
+++ b/roles/basessh/tasks/main.yml
@@ -160,9 +160,7 @@
- name: Create directory for storing pubkeys
file: path="{{pubkeydir}}"
- owner=root
- group=root
- mode=0600
+ mode=0700
state=directory
delegate_to: localhost
run_once: true
Show replies by date