From 3d26a7739de9c364b88b9e7f3fcc9686b50a34f5 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Wed, 10 Jan 2024 16:20:48 -0600 Subject: [PATCH] wip --- roles/nut/tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/nut/tasks/main.yml b/roles/nut/tasks/main.yml index 3d7df3f..c3f1cc1 100644 --- a/roles/nut/tasks/main.yml +++ b/roles/nut/tasks/main.yml @@ -5,6 +5,15 @@ tags: - install +- name: ensure ups configuration directory exists + file: + path: '{{ path_prefix }}/etc/ups' + owner: root + group: root + mode: u=rwx,go=rx + state: directory + tags: + - nut-config - name: ensure upsd is configured template: src: upsd.conf.j2