I have searched several topics, cli documentation, and a few other pieces. I apologize in advance if I missed this… but I’m running into a little bit of a wall while automating syncthing.
I have the installation fully automated now with Ansible. The script works great to download, install, perform all the systemd pieces… and to change the line in file of the /home/user/.config/syncthing/config.xml for the 127.0.0.1 to 0.0.0.0 address change.
Now, I am trying to automate the GUI user/password. It looks like those pieces are in the config.xml as well with the password hashed. I can use Ansible vault to “securely” store and place the password, but I have not figured out yet how to do this via the command line. I could replace the contents in the config.xml, but the password wouldn’t go through the process to be hashed.
Is there any way to do this AND add devices (plus setting up folders - etc) as would be done with the GUI?
OS = Linux Centos 7.
I’m also looking into the dockerized version to see if something might be more easily done there for instances. I’m pretty sure I’ll run into the same (or some of the same) issues though.
Thank you in advance for your help.