selinux allow rabbitmq logs in logrotate
This commit is contained in:
parent
637e92fe11
commit
b29b23f3e9
1 changed files with 7 additions and 0 deletions
|
@ -476,6 +476,13 @@
|
|||
command: /etc/nagios/selinux-load.sh
|
||||
when: selinux_module is changed
|
||||
|
||||
- name: /var/log/rabbitmq selinux file context
|
||||
command: semanage fcontext -a -t var_log_t "/var/log/rabbitmq(/.*)?"
|
||||
register: semanage_rabbit
|
||||
changed_when: "'already defined' not in semanage_rabbit.stdout"
|
||||
tags:
|
||||
- selinux_module
|
||||
|
||||
# Individual applications accounts & queues
|
||||
- import_tasks: apps.yml
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue