From bdb148e5468e96625440e57739b882c2b6989126 Mon Sep 17 00:00:00 2001
From: "Gin Tan (Monash University)" <ctan@m3-mgmt2.massive.org.au>
Date: Mon, 11 Feb 2019 16:20:27 +1100
Subject: [PATCH] Change the ownership of the file

Former-commit-id: 49f71286ea4800c1cdc728e60c4421808fb8e62a
---
 roles/slurmdb-config/tasks/main.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/roles/slurmdb-config/tasks/main.yml b/roles/slurmdb-config/tasks/main.yml
index 58a69bc7..5dd774c3 100644
--- a/roles/slurmdb-config/tasks/main.yml
+++ b/roles/slurmdb-config/tasks/main.yml
@@ -23,6 +23,8 @@
 
 - name: install slurmdb.conf
   copy: src=files/slurmdbd.conf dest={{ slurm_dir }}/etc/slurmdbd.conf
+  owner: slurm
+  group: slurm
   mode: u+rw,g-wx,o-rwx
   sudo: true
   when: slurm_dir is defined
@@ -31,6 +33,8 @@
 - name: install slurmdbd.conf
   copy: src=slurmdbd.conf dest=/etc/slurm/slurmdbd.conf
   mode: u+rw,g-wx,o-rwx
+  owner: slurm
+  group: slurm
   sudo: true
   when: slurm_dir is not defined
 
-- 
GitLab