Use first uppercase letter for all handlers
This will unify all the handlers to use first uppercase letter for ansible-lint to stop complaining. I went through all `notify:` occurrences and fixed them by running ``` set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep -rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g" ``` Then I went through all the changes and removed the ones that wasn't expected to be changed. Fixes https://pagure.io/fedora-infrastructure/issue/12391 Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
2ad6517991
commit
2ec055db6f
168 changed files with 566 additions and 566 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: restart_zabbix_agent
|
||||
- name: Restart zabbix agent
|
||||
service: name=zabbix-agent state=restarted
|
||||
|
||||
- name: reload custom selinux files
|
||||
- name: Reload custom selinux files
|
||||
ansible.builtin.shell: /usr/sbin/semodule -u "/etc/selinux/centos/centos-zabbix-agent.pp"
|
||||
when: ansible_selinux.mode == "enforcing"
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
ansible.builtin.template:
|
||||
src: zabbix_agentd.conf.j2
|
||||
dest: "{{ zabbix_agentd }}"
|
||||
notify: restart_zabbix_agent
|
||||
notify: Restart zabbix agent
|
||||
tags:
|
||||
- zabbix_agent
|
||||
|
||||
|
@ -102,7 +102,7 @@
|
|||
dest: "{{ zabbix_agentd_dir }}/{{ item }}"
|
||||
owner: zabbix
|
||||
mode: "0666"
|
||||
notify: restart_zabbix_agent
|
||||
notify: Restart zabbix agent
|
||||
with_items:
|
||||
- interface-alias.conf
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue