Skip to content

Commit 32e3bda

Browse files
committed
WIP: validation needs fixing for lustre_mounts removal
1 parent e59b2be commit 32e3bda

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

ansible/roles/lustre/tasks/validate.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@
1313
that: selinux_state in ['permissive', 'disabled']
1414
fail_msg: "SELinux must be permissive for Lustre not '{{ selinux_state }}'; see variable selinux_state"
1515

16-
- name: Ensure lustre_mgs_nid is defined
17-
assert:
18-
that: item.mgs_nid | default(lustre_mgs_nid) is defined
19-
fail_msg: lustre_mounts entries must specify mgs_nid or lustre_mgs_nid must be defined
20-
loop: "{{ lustre_mounts }}"
16+
# TODO: fixme lustre_mounts
17+
# - name: Ensure lustre_mgs_nid is defined
18+
# assert:
19+
# that: item.mgs_nid | default(lustre_mgs_nid) is defined
20+
# fail_msg: lustre_mounts entries must specify mgs_nid or lustre_mgs_nid must be defined
21+
# loop: "{{ lustre_mounts }}"
2122

22-
- name: Ensure lustre_fs_name is defined
23-
assert:
24-
that: item.lustre_fs_name | default(lustre_fs_name) is defined
25-
fail_msg: lustre_mounts entries must specify fs_name or lustre_fs_name must be specified
26-
loop: "{{ lustre_mounts }}"
23+
# - name: Ensure lustre_fs_name is defined
24+
# assert:
25+
# that: item.lustre_fs_name | default(lustre_fs_name) is defined
26+
# fail_msg: lustre_mounts entries must specify fs_name or lustre_fs_name must be specified
27+
# loop: "{{ lustre_mounts }}"

0 commit comments

Comments
 (0)