GitXplorerGitXplorer
h

ansible-btsync

public
2 stars
0 forks
0 issues

Commits

List of commits on branch develop.
Unverified
acb8d3c2af45fdb296a6cb1e3d0108deb2ec8d24

Split main into subtasks

committed 11 years ago
Unverified
97739afd562bf4ac587106f310b7644f3a8133ea

merge conflicts

committed 11 years ago
Unverified
537080acd060bb21668c8443927ef804625a4baf

merge

committed 11 years ago
Unverified
e449540ea43736125851b5f6811281ecc78adee3

Merge branch 'master' of github.com:hostmaster/ansible-btsync

committed 11 years ago
Unverified
60054a5f81f6b8298539a5d7fb43b84c6b9f79db

Upgrading installed version

committed 11 years ago
Unverified
9c6be739fc26c2bf1f4011fa8fa504516237f6ba

Merge branch 'master' of github.com:hostmaster/ansible-btsync

hhostmaster committed 11 years ago

README

The README file for this repository.

ansible-btsync

Ansible playbooks for deploying and updating btsync nodes All code is Ubuntu specific

Role variables

There is only one mandatory variable btsync_user: The system user who runs the btsync daemon

All other variables are optional. Full list of optional variable are in btsync/defaults/main.yml

btsync daemon configuration follows the structure of the original JSON configuration All variable are the same but in YAML format.

Examples

    roles:
       - role: btsync
         btsync_user: btsync

         btsync_settings: 
             device_name: "{{ ansible_fqdn }}" 
             listening_port : 5999
             pid_file : "{{ btsync_home }}/.sync/btsync.pid"
             storage_path : "{{ btsync_home }}/.sync"
             use_upnp : false
             shared_folders : 
                - dir: "{{ btsync_home }}/Folder_one"
                  secret: PUTYOURLONGMAGICSECRETHERE
                - dir: "{{ btsync_home }}/Folder_Two"
                  secret: PUTYOURLONGMAGICSECRETHERE
    roles:
       - role: btsync
         btsync_user: btsync
         btsync_settings: 
             device_name: "{{ ansible_fqdn }}" 
             pid_file : "{{ btsync_home }}/.sync/btsync.pid"
             storage_path : "{{ btsync_home }}/.sync"
             webui:
                 listen : "127.0.0.1:8888"