Giter Club home page Giter Club logo

ansible-role-resilio-sync's Introduction

ansible-role-resilio-sync

Build Status Ansible Galaxy License

RHEL/CentOS - All your data across all your devices

Requirements

None

Role Variables

Available variables are listed below, along with default values.

rslsync_bind_interface: "{{ ansible_default_ipv4.interface }}"
rslsync_config_refresh_interval: 3600
rslsync_config_save_interval: 600
rslsync_device_name: "{{ inventory_hostname }}"
rslsync_directory_root: /
rslsync_directory_root_policy: all
rslsync_disk_low_priority: false
rslsync_download_limit: 0
rslsync_enable_file_system_notifications: true
rslsync_enable_journaling: true
rslsync_external_port: 0
rslsync_folder_defaults_use_relay: true
rslsync_folder_defaults_use_tracker: true
rslsync_folder_defaults_use_lan_broadcast: true
rslsync_folder_rescan_interval: 600
rslsync_groups: []
rslsync_lan_encrypt_data: true
rslsync_log_size: 100
rslsync_log_ttl: 7
rslsync_listening_port: 0
rslsync_max_file_size_for_versioning: 1000
rslsync_max_packet_size: 32
rslsync_max_torrent_metadata_size: 16
rslsync_peer_expiration_days: 7
rslsync_pid_file: /var/run/resilio-sync/sync.pid
rslsync_profiler_enabled: false
rslsync_proxy: {}
rslsync_rate_limit_local_peers: false
rslsync_recv_buf_size: 128
rslsync_send_buf_size: 128
rslsync_send_statistics: true
rslsync_shared_folders: {}
rslsync_storage_path: /var/lib/resilio-sync/
rslsync_sync_max_time_diff: 600
rslsync_sync_trash_ttl: 30
rslsync_upload_limit: 0
rslsync_use_upnp: true
rslsync_webui:
  allow_empty_password: false
  listen: '0.0.0.0:8888'
  login: admin
  password: admin
rslsync_worker_threads_count: 0

Dependencies

None

Example Playbook

With shared folders

- hosts: servers
  roles:
    - role: linuxhq.resilio-sync
      rslsync_device_name: "{{ inventory_hostname.split('.')[0] }}"
      rslsync_groups:
        - couchpotato
        - medusa
      rslsync_listening_port: 6881
      rslsync_shared_folders:
        data:
          dir: /mnt/data
          known_hosts: "{{ groups['media'] }}"
          overwrite_changes: false
          search_lan: false
          secret: ADUGZGNAWRX4TLRR6523SVSGZLXJYGBCF
          selective_sync: false
          use_relay_server: false
          use_sync_trash: false
          use_tracker: false
      rslsync_webui: {}

With Web UI

- hosts: servers
  roles:
    - role: linuxhq.resilio-sync
      rslsync_device_name: "{{ inventory_hostname.split('.')[0] }}"
      rslsync_groups:
        - couchpotato
        - medusa
      rslsync_listening_port: 6881
      rslsync_shared_folders: {}
      rslsync_webui:
        allow_empty_password: false
        listen: '0.0.0.0:8888'
        login: admin
        password: admin

License

Copyright (C) 2018 Taylor Kimball [email protected]

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

ansible-role-resilio-sync's People

Contributors

sergsadovyi avatar tkimball83 avatar

Watchers

James Cloos 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.