eddyhub.syncthing
Ansible Syncthing
This Ansible role installs and manages Syncthing (http://syncthing.net/) on Linux (CentOS).
Features:
- Checks the Syncthing version
- Downloads Syncthing (specific version or latest)
- Installs it in
{{ syncthing_home }}/bin/ - Configures basic settings like addresses and username
Requirements
- Requires the
ansible-xmllibrary from GitHub: https://github.com/cmprescott/ansible-xml (or use it from Ansible Galaxy: https://galaxy.ansible.com/cmprescott/xml/)
Role Variables
| Option | Description | Default |
|---|---|---|
| syncthing_user | User that runs the Syncthing service | syncthing |
| syncthing_home | Home directory for Syncthing | /home/{{ syncthing_user }} |
| syncthing_address | Address for the web interface | 127.0.0.1:8080 |
| syncthing_localannounce | Enable/disable local announcements | false |
| syncthing_globalannounce | Enable/disable global announcements | false |
| syncthing_listen | Address for handling remote connections | tcp://0.0.0.0:22000 |
| syncthing_upnp | Enable/disable UPnP | false |
| syncthing_gui_user | Username for GUI login | |
| syncthing_gui_password | Password for GUI login |
Dependencies
- Requires
cmprescott.xml: https://galaxy.ansible.com/cmprescott/xml/
Example Playbook
Here’s an example of how to use this role:
- hosts: servers
roles:
- syncthing
syncthing_user: syncthing
syncthing_localannounce: false
syncthing_globalannounce: false
syncthing_upnp: false
License
This role is licensed under the BSD license.
Author Information
This section is for the authors to share contact information or a website (HTML is not allowed).
Informazioni sul progetto
Install and manages syncthing (http://syncthing.net/) on Linux (Centos).
Installa
ansible-galaxy install eddyhub.syncthingLicenza
bsd-2-clause
Download
82
Proprietario
