#2264 selinux allow rabbitmq logs in logrotate
Merged 7 months ago by kevin. Opened 7 months ago by seddik.
fedora-infra/ seddik/ansible rabbitmq_allows  into  main

@@ -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:

Looks good, could you just fix the yamllint error?

rebased onto 3c32cf2

7 months ago

Yes sorry, it was a wrong char fron IDE ;)
PR updated

rebased onto fd5437f

7 months ago

rebased onto fd5437f

7 months ago

Could you add some tags to the task, so one doesn't need to run the whole playbook just to apply it?

rebased onto 607dd47

7 months ago

loop @zlopez sorry, I've just updated the PR ;)

rebased onto 637e92f

7 months ago

rebased onto 637e92f

7 months ago

Pull-Request has been merged by kevin

7 months ago
Metadata