| Version: | 0.3.1 |
|---|---|
| Web: | https://github.com/okchaty/common |
| Download: | http://github.com/okchaty/common |
| Source: | http://github.com/okchaty/common |
| Keywords: | common |
Table of Contents:
Requirements:
List of applications:
Install
Install it with the following command:
$ ansible-galaxy install okchaty.common
Role Variables
The default role variables in defaults/main.yml are:
common_pip_packages: - name: celery version: 4.0.2
common_packages: - python - git
- Env Vars:
common_env_vars: var1:value 1 var2:value 2
- user:
- Deploy code
Dependencies
None
Example Playbook
See the examples directory.
To run this playbook with default settings, create a basic playbook like this:
- hosts: servers roles: - okchaty.common
To install a specific version:
- hosts: servers roles: - { role: okchaty.common }
- hosts: servers roles: - role: okchaty.common common_package_dependencies: - vim
Add: users to group:
- hosts: servers roles: - role: okchaty.common common_users: - user: test group: test-group
Add: files to server:
common_user = "{{ user}}" common_copy_files: - src: /usr/src/file path: /usr/src/server/file permissions: 0640
License
MIT
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.