From 44d21c0218f2bcd482a956210e1b4201ecaec6b0 Mon Sep 17 00:00:00 2001 From: GDWR Date: Sat, 4 Mar 2023 12:42:33 +0000 Subject: Match casing of task handlers Ansible is case sensitive when specifying a handler --- roles/common/tasks/main.yml | 4 ++-- roles/fail2ban/tasks/main.yml | 2 +- roles/prometheus/tasks/main.yml | 4 ++-- 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 -- cgit v1.2.3