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 99 resolv_conf_nameservers : [1.1.1.1, 8.8.8.8]
1010
1111
12- nfs_disk_location :
1312 nfs_export : " /exports/home"
1413 nfs_client_mnt_options :
1514 nfs_client_mnt_point : " /home"
2524 - noatime
2625 - _netdev # prevents mount blocking early boot before networking available
2726 - rw
28- os_manila_mount_share_info : [] # populated by lookup mode
2927 os_manila_mount_ceph_conf_path : /etc/ceph
3028
3129
5250 cvmfs_config : " {{ cvmfs_config_default | combine(cvmfs_config_overrides) }}"
5351
5452 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
6253
6354 tasks :
6455 - name : Configure resolve.conf
8576 name : NetworkManager
8677 state : reloaded
8778 when : _copy_nm_config.changed | default(false)
79+ when : resolv_conf_nameservers is defined and resolv_conf_nameservers | length > 0
8880
8981
9082 - name : Mount /mnt/cluster on compute nodes and copy hosts to /etc/hosts
295287 - name : Configure Munge service
296288 service :
297289 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
300292
301293 - name : Ensure slurmd state
302294 service :
303295 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 2424 - ../../resolv_conf/templates/resolv.conf.j2
2525 - ../../stackhpc.os-manila-mount/templates/ceph.conf.j2
2626 - ../../stackhpc.os-manila-mount/templates/ceph.keyring.j2
27- - ../../stackhpc.openhpc/templates/gres.conf.j2
2827
2928- name : Inject files
3029 copy :
You can’t perform that action at this time.
0 commit comments