Skip to content

Commit 3127376

Browse files
committed
revert manila changes
1 parent 6bd7908 commit 3127376

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

ansible/roles/compute_init/tasks/export.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,19 @@
4444
mode: u=rw,go=
4545
delegate_to: "{{ groups['control'] | first }}"
4646

47-
- name: Template manila share info to /exports/cluster
48-
ansible.builtin.template:
49-
src: os_manila_mount_share_info.j2
47+
- name: Copy manila share info to /exports/cluster
48+
ansible.builtin.copy:
49+
content: "{{ os_manila_mount_share_info_var | to_nice_yaml }}"
5050
dest: /exports/cluster/manila_share_info.yml
51-
owner: ansible-init
52-
group: ansible-init
53-
mode: u=rw,go=
51+
owner: slurm
52+
group: root
53+
mode: u=r,g=rw,o=
5454
run_once: true
5555
delegate_to: "{{ groups['control'] | first }}"
5656
when: os_manila_mount_share_info is defined
57+
vars:
58+
os_manila_mount_share_info_var:
59+
os_manila_mount_share_info: "{{ os_manila_mount_share_info }}"
5760

5861
- name: Export cacerts
5962
ansible.builtin.include_role:

ansible/roles/compute_init/templates/os_manila_mount_share_info.j2

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)