Skip to content

WhaleJ84/ansible-role-syncthing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syncthing

Installs and configures Syncthing for the user.

Requirements

The following roles are required:

  • whalej84.lxml

The following collections are required:

  • community.general

They can be installed by running ansible-galaxy collection install $COLLECTION.

To include this role in your requirements.yml file, add the following list item:

---
roles:
  - name: whalej84.syncthing
    src: https://github.com/WhaleJ84/ansible-role-syncthing.git
    scm: git

  - name: whalej84.lxml
    src: https://github.com/WhaleJ84/ansible-role-lxml.git
    scm: git

collections:
  - community.general

Role Variables

Name Type Description Default
syncthing_config_dir string A path to state where the syncthing config file should be located "$HOME/.local/state/syncthing"
minumum_free_disk_percentage string A numeric value to state the minimum percent of free disk space required for shared folders 15

Example Playbook

This example playbook shows how I would use this role, with custom variables to suit my needs.

---
- hosts: localhost
  
  roles:
    role: whalej84.syncthing
    tags: [ syncthing ]

About

Installs and configures Syncthing for the user

Topics

Resources

Stars

Watchers

Forks