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
|
||||
* haproxy: chroot and socket path are configurable
|
||||
* redis: create sudoers file if missing
|
||||
|
||||
### Fixed
|
||||
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
line: 'nagios ALL = NOPASSWD: {{ redis_check_redis_path }}'
|
||||
insertafter: '^nagios'
|
||||
validate: "visudo -cf %s"
|
||||
create: yes
|
||||
when: redis_instance_name is defined
|
||||
tags:
|
||||
- redis
|
||||
|
|
Loading…
Reference in a new issue