forked from evolix/ansible-roles
Fix permissions for check_redis and check_redis_instances
This commit is contained in:
parent
3768f6553a
commit
961f50c1a6
|
@ -13,6 +13,9 @@
|
||||||
src: check_redis.pl
|
src: check_redis.pl
|
||||||
dest: /usr/local/lib/nagios/plugins/check_redis
|
dest: /usr/local/lib/nagios/plugins/check_redis
|
||||||
force: yes
|
force: yes
|
||||||
|
mode: "0755"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
when:
|
when:
|
||||||
- ansible_distribution == "Debian"
|
- ansible_distribution == "Debian"
|
||||||
- ansible_distribution_major_version | version_compare('9', '<')
|
- ansible_distribution_major_version | version_compare('9', '<')
|
||||||
|
@ -56,6 +59,9 @@
|
||||||
src: check_redis_instances.sh
|
src: check_redis_instances.sh
|
||||||
dest: /usr/local/lib/nagios/plugins/check_redis_instances
|
dest: /usr/local/lib/nagios/plugins/check_redis_instances
|
||||||
force: yes
|
force: yes
|
||||||
|
mode: "0755"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
when: redis_instance_name is defined
|
when: redis_instance_name is defined
|
||||||
tags:
|
tags:
|
||||||
- redis
|
- redis
|
||||||
|
|
Loading…
Reference in a new issue