Manage devices and folders with ansible

Hello and thanks for maintaining and developing this project :grinning:

I have one introducer in my setup and i would like to manage his configuration for folders and devices with ansible. I could generate the config.xml from a template but i will probably run in errors when a new config.xml version with new settings is introduced?

Are there better alternatives or has someone experience with syncthing + ansible and could share his knowledge?

Generating a config is not wrong, but if you do that you probably want to lock down the corresponding Syncthing version. Alternatively, allow for the fact the Syncthing will upgrade the config version and rewrite it with new settings when they happen.

We generally recommend speaking to the API instead, but it has some similar issues and Iā€™m not sure how it best integrates with Ansible.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.