commit 1f1159211bfde539685a6dd9cc28a44b52ffbecf
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Oct 18 17:36:28 2024 +0200
Update basessh
roles/basessh/tasks/main.yml | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/roles/basessh/tasks/main.yml b/roles/basessh/tasks/main.yml
index e66a1d4..646b188 100644
--- a/roles/basessh/tasks/main.yml
+++ b/roles/basessh/tasks/main.yml
@@ -146,7 +146,7 @@
- base
- set_fact:
- pubkeydir: "/tmp/sshkeysign/{{inventory_hostname}}"
+ pubkeydir: "/var/tmp/sshkeysign/{{inventory_hostname}}"
tags:
- basessh
- sshd_cert
@@ -157,9 +157,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