Installs s3cmd
None to install - but a Amazon S3 account to use
Added pip install and OS supprt for Debian / Redhat
become_user: The user to run the role as
s3cmd_pkgs: Required python dependencies
- python-setuptools
- python-dateutil
- python-magic
aws_access_key: supply your access key in (vaulted) host_vars / group_vars aws_secret_key: supply your secret key in (vaulted) host_vars / group_vars
s3cmd_repo: "https://github.com/s3tools/s3cmd" - the repo to install from s3cmd_dest: "/root/s3cmd" the default install location s3cmd_version: "v1.5.2" - the version to install s3cmd_cfg_path: "/root/.s3cfg" - the path of the config file
Note that on Centos I changed thegroup ownership of /ur/lib/python2.6/site-packages to ansible admin group Otherwise it only runs for root
None
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: ansible-role-s3cmd }
MIT
Forked from jnakatsui