GitXplorerGitXplorer
j

SyncToGoogleStorage

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
502daee1a639cd97be0e2cdd5851ab7ad6f830ef

Changes role name in handlers file

jjylitalo committed 7 years ago
Unverified
84914864e55ce03bdb84365413c267819431248b

Initial commit

jjylitalo committed 7 years ago

README

The README file for this repository.

SyncToGoogleStorage

Sync content into Google Compure Storage (with gsutil).

Build status

Requirements

gsutil command line utility and project in Google Computing Environment.

Role Variables

  • bucket: where content will be stored
  • chdir: where content is stored locally
  • gsutil: define if gsutil is not in PATH
  • location: EU/US/us-central1 (depends on storage_class)
  • project: project name in Google Compute Environment
  • storage_class: Standard/regional/...
  • dirs:
    • {src: ".", dest: "", extra_args: "-x images"}
    • {src: "images", dest: "images", extra_args: ""}

Dependencies

None

Example Playbook

- hosts: server
  tasks:
  - include_role
    name: SyncToGoogleStorage
  vars:
    dirs: {src:".", dest:"", extra_args:""}

License

MIT

Author Information

Juha Ylitalo, juha.ylitalo@gmail.com, http://www.ylitalot.com/