From f747b9f3722af134dd48192743a210c7a58cb014 Mon Sep 17 00:00:00 2001 From: XaverStiensmeier Date: Fri, 13 Sep 2024 14:59:40 +0200 Subject: [PATCH] moved openstack credentials permission change to server only --- .../playbook/roles/bibigrid/tasks/042-slurm-server.yaml | 6 ++++++ resources/playbook/roles/bibigrid/tasks/042-slurm.yaml | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/playbook/roles/bibigrid/tasks/042-slurm-server.yaml b/resources/playbook/roles/bibigrid/tasks/042-slurm-server.yaml index e3a28ac6..5f6bb2d3 100644 --- a/resources/playbook/roles/bibigrid/tasks/042-slurm-server.yaml +++ b/resources/playbook/roles/bibigrid/tasks/042-slurm-server.yaml @@ -1,3 +1,9 @@ +- name: Change group ownership of OpenStack credentials file to slurm + file: + path: /etc/openstack/clouds.yaml + group: slurm + mode: '0640' # (owner can read/write, group can read, others have no access) + - name: Create slurm db mysql_db: name: "{{ slurm_conf.db }}" diff --git a/resources/playbook/roles/bibigrid/tasks/042-slurm.yaml b/resources/playbook/roles/bibigrid/tasks/042-slurm.yaml index 7901997a..d80fb67c 100644 --- a/resources/playbook/roles/bibigrid/tasks/042-slurm.yaml +++ b/resources/playbook/roles/bibigrid/tasks/042-slurm.yaml @@ -9,12 +9,6 @@ uid: 64030 group: slurm -- name: Change group ownership of OpenStack credentials file to slurm - file: - path: /etc/openstack/clouds.yaml - group: slurm - mode: '0640' # (owner can read/write, group can read, others have no access) - - name: Create pinning configuration for slurm-bibigrid version 23.11.* copy: content: |