mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Make sure rsyncd log file exists
This commit is contained in:
@@ -11,6 +11,14 @@
|
||||
- name: Set httpd_use_nfs seboolean
|
||||
action: seboolean name=httpd_use_nfs state=yes persistent=yes
|
||||
|
||||
- name: ensure /var/log/rsyncd-fedora.log exists
|
||||
file: >
|
||||
dest=/var/log/rsyncd-fedora.log
|
||||
state=touch
|
||||
owner=root group=root mode=0644
|
||||
tags:
|
||||
- config
|
||||
|
||||
- name: /var/log/rsyncd-fedora.log file context
|
||||
command: semanage fcontext -a -t rsync_log_t "/var/log/rsyncd-fedora.log"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user