ics-ans-role-rsync
Ansible role to install rsync.
Requirements
- ansible >= 2.4
- molecule >= 2.6
Role Variables
...
Example Playbook
- hosts: servers
roles:
- role: ics-ans-role-rsync
rsync_server_shares:
- name: servername
comment: Public datasets
path: /data/1
readonly: no
Role Variables
Defaults: defaults/main.yml
-
rsync_server_timeout
: Timeout for connections, default300
seconds -
rsync_server_max_connections
: Maximum number of connections, default10
-
rsync_server_shares
: A list of dictionaries of shares with fields:-
name
: The published name of the share, required -
path
: Filesystem path of the share, required -
comment
: Description of the share, default is the same asname
-
readonly
: Whether the share is read-only, defaultTrue
-
uid
: User name or ID when access the share, defaultnobody
-
gid
: Group name or ID when access the share, defaultnobody
-
excludes
: A list of exclusions, default['lost+found', '.*']
-
host_allow
: IPADDRESS or IPADDRESS/MASK, default*
-
License
BSD 2-clause