{"id":20523722,"url":"https://github.com/rafi/ansible-modules-syncthing","last_synced_at":"2025-04-14T03:23:40.744Z","repository":{"id":55414852,"uuid":"159553261","full_name":"rafi/ansible-modules-syncthing","owner":"rafi","description":"Collection of modules for Syncthing management.","archived":false,"fork":false,"pushed_at":"2021-02-19T16:41:40.000Z","size":5,"stargazers_count":15,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T04:05:41.141Z","etag":null,"topics":["ansible","ansible-modules","automation","filesystem","storage","syncthing"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-28T19:23:57.000Z","updated_at":"2025-02-23T15:13:26.000Z","dependencies_parsed_at":"2022-08-14T23:50:36.057Z","dependency_job_id":null,"html_url":"https://github.com/rafi/ansible-modules-syncthing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi%2Fansible-modules-syncthing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi%2Fansible-modules-syncthing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi%2Fansible-modules-syncthing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafi%2Fansible-modules-syncthing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafi","download_url":"https://codeload.github.com/rafi/ansible-modules-syncthing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248814273,"owners_count":21165735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-modules","automation","filesystem","storage","syncthing"],"created_at":"2024-11-15T22:44:50.810Z","updated_at":"2025-04-14T03:23:40.725Z","avatar_url":"https://github.com/rafi.png","language":"Python","readme":"# Ansible Modules for Syncthing\n\nCollection of modules for [Syncthing](https://syncthing.net) management.\n\n## Install\n\nCopy the `./library` directory to your Ansible project and ensure your\n`ansible.cfg` has this line:\n\n```ini\n[defaults]\nlibrary = ./library\n```\n\nPlease note this module was test on:\n\n* Ubuntu 16.04 with Syncthing v0.14.52\n\nPlease report successful usage on other platforms/versions.\n\n## Usage\n\nSee [example playbooks](./playbooks) for robust feature usage:\n\n* [install_syncthing.yml] - Install Syncthing on Ubuntu (with systemd)\n* [manage.yml] - Ensure Syncthing devices and folders across devices\n\n[install_syncthing.yml]: http://\n[manage.yml]: http://\n\n## Modules\n\n### Module: `syncthing_device`\n\nManage synced devices. Add, remove or pause devices using ID.\n\nExamples:\n\n```yml\n# Add a device to share with, use auto-configuration\n- name: Add syncthing device\n  syncthing_device:\n    id: ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG\n    name: my-device-name\n\n# Add a device to share with\n- name: Add syncthing device\n  syncthing_device:\n    id: ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG\n    name: my-other-device\n    host: http://127.0.0.1:8384\n    api_key: aBCDeFG1h2IJKlmNopq3rs45uvwxy6Zz\n\n# Pause an existing device\n- name: Pause syncthing device\n  syncthing_device:\n    id: ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG\n    name: my-device-name\n    state: pause\n\n# Remove an existing device\n- name: Remove syncthing device\n  syncthing_device:\n    id: ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG\n    name: my-device-name\n    state: absent\n```\n\n### Module: `syncthing_folder`\n\nManage synced devices. Add, remove or pause devices using ID.\n\nExamples:\n\n```yml\n# Add a folder to synchronize with another device, use auto-configuration\n- name: Add syncthing folder\n  syncthing_folder:\n    path: ~/Documents\n    id: documents\n    devices:\n      - ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG\n\n# Add a folder to share with several devices, specify host and api key\n- name: Add syncthing folder\n  syncthing_folder:\n    path: ~/Downloads\n    id: downloads\n    devices:\n      - ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG\n      - GFEDCBA-GFEDCBA-GFEDCBA-GFEDCBA-GFEDCBA-GFEDCBA-GFEDCBA-GFEDCBA\n    host: http://127.0.0.1:8384\n    api_key: aBCDeFG1h2IJKlmNopq3rs45uvwxy6Zz\n\n# Pause an existing folder\n- name: Pause syncthing folder\n  syncthing_folder:\n    id: downloads\n    state: pause\n\n# Remove an existing folder\n- name: Remove syncthing folder\n  syncthing_folder:\n    id: downloads\n    state: absent\n```\n\n## License\n\nCopyright: (c) 2018, Rafael Bodill `\u003cjustrafi at g\u003e`\nGNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafi%2Fansible-modules-syncthing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafi%2Fansible-modules-syncthing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafi%2Fansible-modules-syncthing/lists"}