Skip to content

AlbanAndrieu/ansible-dropbox

Repository files navigation

Nabla roles/alban_andrieu_dropbox

This file was generated by Ansigenome. Do not edit this file directly but instead have a look at the files in the ./meta/ directory.

License Travis CI Branch Donate Ansible Galaxy Platforms

Ensures that dropbox is properly installed (using apt) and configured

Installation

This role requires at least Ansible v2.3.0.0. To install it, run:

Using ansible-galaxy:

$ ansible-galaxy install alban.andrieu.dropbox

Using arm (Ansible Role Manager):

$ arm install alban.andrieu.dropbox

Using git:

$ git clone https://github.com/AlbanAndrieu/ansible-dropbox.git

Documentation

More information about alban.andrieu.dropbox can be found in the TODO official alban.andrieu.dropbox documentation.

Role variables

List of default variables available in the inventory:

dropbox_enabled: yes                       # Enable module

#user: 'albandri' #please override me
user: "{{ lookup('env','USER') }}"
dropbox_owner: "{{ user }}"
dropbox_group: "{{ dropbox_owner }}"
#home: '~' #please override me
home: "{{ lookup('env','HOME') }}"
dropbox_owner_home: "{{ home }}"
dropbox_user_state: present

dropbox_directory: "{{ dropbox_owner_home }}/.dropbox"
dropbox_user_directory: "{{ dropbox_owner_home }}/Dropbox"
dropbox_user_host : "1234567890"
dropbox_utilities_enabled : yes

docker_files_generated_directory: "./"
docker_files_enable: no
docker_volume_directory: "{{ dropbox_owner_home }}"
docker_working_directory: "/home/vagrant"
docker_image_name: "nabla/ansible-dropbox"

Detailed usage guide

Run the following command :

ansible-playbook -i hosts -c local -v dropbox.yml -vvvv --ask-sudo-pass | tee setup.log

Testing

$ ansible-galaxy install alban.andrieu.dropbox
$ vagrant up

Contributing

The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.

For pull requests, editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Authors and license

roles/alban_andrieu_dropbox role was written by:

License

Feedback, bug-reports, requests, ...

Are welcome!


This role is part of the Nabla project. README generated by Ansigenome.


Alban Andrieu

linkedin