File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 1
- - name : Ensure NHC configuration directory exists
2
- ansible.builtin.file :
3
- path : /etc/nhc
4
- state : directory
5
- owner : root
6
- group : root
7
- mode : u=rwX,go= # HealthCheckProgram is run by root
8
-
9
1
- name : Copy stored NHC configuration to active location
10
2
ansible.builtin.copy :
11
3
remote_src : true
Original file line number Diff line number Diff line change 1
1
2
2
- name : Ensure NHC configuration directory exists
3
+ # When running site.yml after login/control upgrade, nhc group might be
4
+ # enabled in repo, but as the compute nodes have not yet been upgraded they
5
+ # do not have the package and hence this directory
3
6
ansible.builtin.file :
4
7
path : /etc/nhc
5
8
state : directory
9
+ # to match nhc-ohpc install:
6
10
owner : root
7
11
group : root
8
- mode : u=rwX,go= # HealthCheckProgram is run by root
12
+ mode : u=rwX,go=
9
13
10
14
- name : Template out NHC configuration
11
15
ansible.builtin.template :
12
16
src : " {{ nhc_config_template }}"
13
17
dest : /etc/nhc/nhc.conf
14
18
owner : root
15
19
group : root
16
- mode : u=rw,go=
20
+ mode : u=rw,go= # HealthChecProgram is run by root
You can’t perform that action at this time.
0 commit comments