update docs
This commit is contained in:
parent
cb6a2ca328
commit
78eb1641ec
|
@ -37,7 +37,7 @@ options:
|
|||
required: false
|
||||
devices:
|
||||
description:
|
||||
- List of devices to share folder with
|
||||
- List of device ids to share folder with. Always share with self.
|
||||
required: false
|
||||
fs_watcher:
|
||||
description:
|
||||
|
@ -65,12 +65,20 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
# Add a folder to synchronize with another device
|
||||
- name: Add syncthing folder
|
||||
community.syncthing.folder:
|
||||
id: box
|
||||
path: ~/box
|
||||
devices:
|
||||
- 1234-1234-1234-1234
|
||||
- name: Create folder
|
||||
become: yes
|
||||
become_user: syncthing
|
||||
community.syncthing.folder:
|
||||
host: http://localhost
|
||||
unix_socket: /run/syncthing/syncthing.sock
|
||||
config_file: /var/lib/syncthing/.config/syncthing/config.xml
|
||||
id: 'my-folder-1'
|
||||
label: 'my folder 1'
|
||||
path: '/root/test-folder-1'
|
||||
devices:
|
||||
- '1234-1234-1234'
|
||||
- '5678-5678-5678'
|
||||
register: folder
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
|
Loading…
Reference in New Issue