aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar GDWR <[email protected]>2023-03-04 12:42:33 +0000
committerGravatar GDWR <[email protected]>2023-03-04 13:32:04 +0000
commit44d21c0218f2bcd482a956210e1b4201ecaec6b0 (patch)
tree2156779bb6a64b6f4c1b088df817415ed58378c8
parentBump pre-commit from 3.0.4 to 3.1.0 (#86) (diff)
Match casing of task handlers
Ansible is case sensitive when specifying a handler
-rw-r--r--roles/common/tasks/main.yml4
-rw-r--r--roles/fail2ban/tasks/main.yml2
-rw-r--r--roles/prometheus/tasks/main.yml4
3 files changed, 5 insertions, 5 deletions
diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml
index d470030..b0537e5 100644
--- a/roles/common/tasks/main.yml
+++ b/roles/common/tasks/main.yml
@@ -21,7 +21,7 @@
line: "PasswordAuthentication no"
state: present
notify:
- - restart ssh
+ - Restart ssh
tags:
- role::common
@@ -33,7 +33,7 @@
owner: root
group: root
notify:
- - restart systemd-timesyncd
+ - Restart systemd-timesyncd
tags:
- role::common
diff --git a/roles/fail2ban/tasks/main.yml b/roles/fail2ban/tasks/main.yml
index a193de6..c71335b 100644
--- a/roles/fail2ban/tasks/main.yml
+++ b/roles/fail2ban/tasks/main.yml
@@ -16,7 +16,7 @@
tags:
- role::fail2ban
notify:
- - reload fail2ban
+ - Reload fail2ban
- name: Enable fail2ban service
service:
diff --git a/roles/prometheus/tasks/main.yml b/roles/prometheus/tasks/main.yml
index 67fa12d..eb60335 100644
--- a/roles/prometheus/tasks/main.yml
+++ b/roles/prometheus/tasks/main.yml
@@ -16,7 +16,7 @@
when:
- prometheus_cmdline_options is defined
notify:
- - restart the prometheus service
+ - Restart the prometheus service
- name: Configure prometheus
copy:
@@ -30,4 +30,4 @@
tags:
- role::prometheus
notify:
- - reload the prometheus service
+ - Reload the prometheus service