Skip to content

AlbanAndrieu/ansible-grive

Repository files navigation

Nabla roles/alban_andrieu_grive

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

This role can be used to install google drive.

Installation

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

Using ansible-galaxy:

$ ansible-galaxy install alban.andrieu.gdrive

Using arm (Ansible Role Manager):

$ arm install alban.andrieu.gdrive

Using git:

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

Documentation

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

Role variables

List of default variables available in the inventory:

grive_enabled: yes                       # Enable module

#user: 'albandri' #please override me
user: "{{ lookup('env','USER') }}"
grive_owner: "{{ user }}"
#home: '~' #please override me
home: "{{ lookup('env','HOME') }}"
grive_owner_home: "{{ home }}"
grive_user_state: present
grive_repository_state: present
grive_bin: "/usr/bin/grive"

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

Detailed usage guide

Run the following command :

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

Testing

$ ansible-galaxy install alban.andrieu.gdrive
$ 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_grive 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