Make sure rsyncd log file exists
This commit is contained in:
parent
ae9210bd07
commit
bcca815b46
1 changed files with 8 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue