File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 14
14
mode : 0775
15
15
16
16
- name : Mount NFS with options
17
- ansible_remote_tmp : /tmp
18
17
mount :
19
18
path : " {{ local_path }}"
20
19
src : " {{ export_host }}:{{ export_path | trim() }}"
21
20
fstype : nfs
22
21
opts : " {{ options }}"
23
22
state : mounted
24
23
when : options!=""
24
+ retries : 5
25
+ delay : 1
26
+ register : result
27
+ until : result is not failed
28
+
25
29
- name : Mount NFS without options
26
- ansible_remote_tmp : /tmp
27
30
mount :
28
31
path : " {{ local_path }}"
29
32
src : " {{ export_host }}:{{ export_path | trim() }}"
30
33
fstype : nfs
31
34
state : mounted
32
35
when : options==""
36
+ retries : 5
37
+ delay : 1
38
+ register : result
39
+ until : result is not failed
33
40
34
41
- name : make sure the permissions of the share directory are right
35
42
become : true
38
45
state : directory
39
46
owner : ubuntu
40
47
group : " {{privilege_group_name}}"
41
- mode : 0775
48
+ mode : 0775
Original file line number Diff line number Diff line change 112
112
/usr/bin/python3.10 -m pip install wheel
113
113
when : ansible_os_family == "Debian"
114
114
115
+ - name : Upgrade Packaging Library
116
+ shell : |
117
+ pip install --upgrade packaging==25.0
118
+ when : ansible_os_family == "Debian"
119
+
115
120
- name : Build slurm sdk python wheel
116
121
shell : |
117
122
/usr/bin/python3.10 setup.py bdist_wheel
You can’t perform that action at this time.
0 commit comments