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-
91- name : Copy stored NHC configuration to active location
102 ansible.builtin.copy :
113 remote_src : true
Original file line number Diff line number Diff line change 11
22- 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
36 ansible.builtin.file :
47 path : /etc/nhc
58 state : directory
9+ # to match nhc-ohpc install:
610 owner : root
711 group : root
8- mode : u=rwX,go= # HealthCheckProgram is run by root
12+ mode : u=rwX,go=
913
1014- name : Template out NHC configuration
1115 ansible.builtin.template :
1216 src : " {{ nhc_config_template }}"
1317 dest : /etc/nhc/nhc.conf
1418 owner : root
1519 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