forked from evolix/ansible-roles
redis: create sudoers file if missing
This commit is contained in:
parent
66b62c5629
commit
bd8a30a107
|
@ -19,6 +19,7 @@ The **patch** part changes incrementally at each release.
|
||||||
|
|
||||||
* packweb-apache: Don't turn on mod-evasive emails by default
|
* packweb-apache: Don't turn on mod-evasive emails by default
|
||||||
* haproxy: chroot and socket path are configurable
|
* haproxy: chroot and socket path are configurable
|
||||||
|
* redis: create sudoers file if missing
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
line: 'nagios ALL = NOPASSWD: {{ redis_check_redis_path }}'
|
line: 'nagios ALL = NOPASSWD: {{ redis_check_redis_path }}'
|
||||||
insertafter: '^nagios'
|
insertafter: '^nagios'
|
||||||
validate: "visudo -cf %s"
|
validate: "visudo -cf %s"
|
||||||
|
create: yes
|
||||||
when: redis_instance_name is defined
|
when: redis_instance_name is defined
|
||||||
tags:
|
tags:
|
||||||
- redis
|
- redis
|
||||||
|
|
Loading…
Reference in a new issue