Skip to content

Commit c9ca0d2

Browse files
committed
Revert "remove un-needed nhc conf dir tasks" c38f9fd
This reverts commit c38f9fd.
1 parent 3ec4868 commit c9ca0d2

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

ansible/roles/nhc/tasks/boot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
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
18

29
- name: Copy stored NHC configuration to active location
310
ansible.builtin.copy:

ansible/roles/nhc/tasks/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11

2+
- name: Ensure NHC configuration directory exists
3+
ansible.builtin.file:
4+
path: /etc/nhc
5+
state: directory
6+
owner: root
7+
group: root
8+
mode: u=rwX,go= # HealthCheckProgram is run by root
9+
210
- name: Template out NHC configuration
311
ansible.builtin.template:
412
src: "{{ nhc_config_template }}"

0 commit comments

Comments
 (0)