File tree Expand file tree Collapse file tree 2 files changed +5
-15
lines changed
ansible/roles/compute_init Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Original file line number Diff line number Diff line change 9
9
resolv_conf_nameservers : [1.1.1.1, 8.8.8.8]
10
10
11
11
12
- nfs_disk_location :
13
12
nfs_export : " /exports/home"
14
13
nfs_client_mnt_options :
15
14
nfs_client_mnt_point : " /home"
25
24
- noatime
26
25
- _netdev # prevents mount blocking early boot before networking available
27
26
- rw
28
- os_manila_mount_share_info : [] # populated by lookup mode
29
27
os_manila_mount_ceph_conf_path : /etc/ceph
30
28
31
29
52
50
cvmfs_config : " {{ cvmfs_config_default | combine(cvmfs_config_overrides) }}"
53
51
54
52
openhpc_conf_server : " {{ control_node_ip }}"
55
- openhpc_slurm_service_enabled : true
56
- openhpc_slurm_service_started : " {{ openhpc_slurm_service_enabled }}"
57
- openhpc_enable :
58
- control : false
59
- batch : true
60
- database : false
61
- runtime : true
62
53
63
54
tasks :
64
55
- name : Configure resolve.conf
85
76
name : NetworkManager
86
77
state : reloaded
87
78
when : _copy_nm_config.changed | default(false)
79
+ when : resolv_conf_nameservers is defined and resolv_conf_nameservers | length > 0
88
80
89
81
90
82
- name : Mount /mnt/cluster on compute nodes and copy hosts to /etc/hosts
295
287
- name : Configure Munge service
296
288
service :
297
289
name : munge
298
- enabled : " {{ openhpc_slurm_service_enabled | bool }} "
299
- state : " {{ ' started' if openhpc_slurm_service_started | bool else 'stopped' }} "
290
+ enabled : true
291
+ state : started
300
292
301
293
- name : Ensure slurmd state
302
294
service :
303
295
name : slurmd
304
- enabled : " {{ openhpc_slurm_service_enabled | bool }}"
305
- state : " {{ 'started' if openhpc_slurm_service_started | bool else 'stopped' }}"
306
- when : openhpc_enable.batch | default(false) | bool
296
+ enabled : true
297
+ state : started
Original file line number Diff line number Diff line change 24
24
- ../../resolv_conf/templates/resolv.conf.j2
25
25
- ../../stackhpc.os-manila-mount/templates/ceph.conf.j2
26
26
- ../../stackhpc.os-manila-mount/templates/ceph.keyring.j2
27
- - ../../stackhpc.openhpc/templates/gres.conf.j2
28
27
29
28
- name : Inject files
30
29
copy :
You can’t perform that action at this time.
0 commit comments