diff options
author | Ole Mathias Heggem <olemathias.aa.heggem@gmail.com> | 2023-11-23 20:26:28 +0100 |
---|---|---|
committer | Ole Mathias Heggem <olemathias.aa.heggem@gmail.com> | 2023-11-23 20:26:28 +0100 |
commit | b9082b592eb6f329feab531b821a52aacfe10142 (patch) | |
tree | e115ca2d8a9b77f956191859d01bb6037e512146 | |
parent | 336211fc187641757c79740982eb450d78feccf1 (diff) |
fix handlersansible-fixes
-rw-r--r-- | ansible/roles/ping/tasks/main.yml | 4 | ||||
-rw-r--r-- | ansible/roles/snmp/handlers/main.yml | 2 | ||||
-rw-r--r-- | ansible/roles/snmp/tasks/main.yml | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/ansible/roles/ping/tasks/main.yml b/ansible/roles/ping/tasks/main.yml index b9371ad..074e6b9 100644 --- a/ansible/roles/ping/tasks/main.yml +++ b/ansible/roles/ping/tasks/main.yml @@ -2,10 +2,10 @@ ansible.builtin.copy: dest: /etc/systemd/system/gondul-pinger.service src: gondul-pinger.service - notify: restart gondul-pinger + notify: Restart gondul-pinger - name: Enable ping service ansible.builtin.systemd: name: gondul-pinger.service enabled: yes - notify: restart gondul-pinger
\ No newline at end of file + notify: Restart gondul-pinger
\ No newline at end of file diff --git a/ansible/roles/snmp/handlers/main.yml b/ansible/roles/snmp/handlers/main.yml index b0232f2..21c2b49 100644 --- a/ansible/roles/snmp/handlers/main.yml +++ b/ansible/roles/snmp/handlers/main.yml @@ -1,3 +1,3 @@ --- -- name: restart gondul-snmp +- name: Restart gondul-snmp service: name=gondul-snmp state=restarted diff --git a/ansible/roles/snmp/tasks/main.yml b/ansible/roles/snmp/tasks/main.yml index 85a88cd..33e479b 100644 --- a/ansible/roles/snmp/tasks/main.yml +++ b/ansible/roles/snmp/tasks/main.yml @@ -14,16 +14,16 @@ args: chdir: /opt/gondul/data/ when: not mibdir.stat.exists - notify: restart gondul-snmp + notify: Restart gondul-snmp - name: Add systemd service file for gondul-snmp ansible.builtin.copy: dest: /etc/systemd/system/gondul-snmp.service src: gondul-snmp.service - notify: restart gondul-snmp + notify: Restart gondul-snmp - name: Enable snmp service ansible.builtin.systemd: name: gondul-snmp.service enabled: yes - notify: restart gondul-snmp
\ No newline at end of file + notify: Restart gondul-snmp
\ No newline at end of file |