Giter Site home page Giter Site logo

ansible-role-rsync-server's Introduction

Rsync Server

Setup rsync as a server.

Role Variables

Defaults: defaults/main.yml

  • rsync_server_timeout: Timeout for connections, default 300 seconds
  • rsync_server_max_connections: Maximum number of connections, default 10
  • 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 as name
    • readonly: Whether the share is read-only, default True
    • uid: User name or ID when access the share, default nobody
    • gid: Group name or ID when access the share, default nobody
    • excludes: A list of exclusions, default ['lost+found', '.*']

Log rotation:

  • rsync_server_logrotate_interval: Rotate log files at this interval, default weeky
  • rsync_server_logrotate_backlog_size: Number of backlog files to keep, default 52

Example Playbook

- hosts: localhost
  roles:
  - role: rsync-server
    rsync_server_shares:
    - name: dataset-1
      comment: Public datasets
      path: /data/1

Author Information

[email protected]

ansible-role-rsync-server's People

Contributors

joshmoore avatar manics avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.