From f78364e2a829be09c0924a585c9188f4b9790631 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Wed, 10 Jul 2024 16:40:05 +0200 Subject: [PATCH] feat(server/base): create a directory for potential secrets Signed-off-by: Matej Focko --- roles/server/base/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 roles/server/base/tasks/main.yml diff --git a/roles/server/base/tasks/main.yml b/roles/server/base/tasks/main.yml new file mode 100644 index 0000000..b026c70 --- /dev/null +++ b/roles/server/base/tasks/main.yml @@ -0,0 +1,8 @@ +--- +- name: Create a directory for secrets + ansible.builtin.file: + path: /root/.secrets + state: directory + mode: 0700 + owner: root + group: root