File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
ansible/roles/lustre/tasks Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 16
16
that : _lustre_interface is defined
17
17
fail_msg : " No interface was found for lustre_subnet_cidr={{ lustre_subnet_cidr }}"
18
18
19
- # - name: Write LNet configuration file
20
- # template:
21
- # src: lnet.conf.j2
22
- # dest: /etc/lnet.conf # exists from package install, expected by lnet service
23
- # owner: root
24
- # group: root
25
- # mode: u=rw,go=r # from package install
26
- # register: _lnet_conf
19
+ - name : Write LNet configuration file
20
+ template :
21
+ src : lnet.conf.j2
22
+ dest : /etc/lnet.conf # exists from package install, expected by lnet service
23
+ owner : root
24
+ group : root
25
+ mode : u=rw,go=r # from package install
26
+ register : _lnet_conf
27
27
28
- # - name: Ensure lnet service state
29
- # systemd_service :
30
- # name: lnet
31
- # state: "'restarted' if _lnet_conf.changed else 'started'"
32
- # when: _lnet_conf.changed
28
+ - name : Ensure lnet service state
29
+ systemd :
30
+ name : lnet
31
+ state : " {{ 'restarted' if _lnet_conf.changed else 'started' }} "
32
+ when : _lnet_conf.changed
33
33
34
34
- name : Ensure mount points exist
35
35
ansible.builtin.file :
You can’t perform that action at this time.
0 commit comments