Skip to content

agilecreativity/ansible-dropbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Ansible role to manage Dropbox installation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 56.5%
  • Shell 43.5%