| 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:
List of applications:
Install it with the following command:
$ ansible-galaxy install okchaty.commonThe default role variables in defaults/main.yml are:
common_pip_packages:
- name: celery
version: 4.0.2common_packages:
- python
- git- Env Vars:
common_env_vars:
var1:value 1
var2:value 2- user:
common_user: ubuntu- Deploy code
common_only_deploy: yesNone
See the examples directory.
To run this playbook with default settings, create a basic playbook like this:
- hosts: servers
roles:
- okchaty.commonTo install a specific version:
- hosts: servers
roles:
- { role: okchaty.common }- hosts: servers
roles:
- role: okchaty.common
common_package_dependencies:
- vimAdd: users to group:
- hosts: servers
roles:
- role: okchaty.common
common_users:
- user: test
group: test-groupAdd: files to server:
common_user = "{{ user}}"
common_copy_files:
- src: /usr/src/file
path: /usr/src/server/file
permissions: 0640MIT
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.