Skip to content

Commit

Permalink
[no-ref] Lock users_and_groups to v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtek-oledzki committed Jan 27, 2016
1 parent 6079c43 commit 052d1fc
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 6 deletions.
39 changes: 33 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Master: [![Build Status](https://travis-ci.org/ansible-city/kafka.svg?branch=mas
Develop: [![Build Status](https://travis-ci.org/ansible-city/kafka.svg?branch=develop)](https://travis-ci.org/ansible-city/kafka)

* [ansible.cfg](#ansible-cfg)
* [Dependencies](#dependencies)
* [Installation and Dependencies](#installation-and-dependencies)
* [Tags](#tags)
* [Examples](#examples)

Expand All @@ -29,18 +29,21 @@ hash_behaviour = merge



## Dependencies
## Installation and Dependencies

To install this role and it's dependencies, add this to your `roles.yml`
This role will install `ansible-city.users_and_groups` for managing `kafka`
user.

```YAML
---
To install run `ansible-galaxy install ansible-city.kafka` or add this to your
`roles.yml`

```YAML
- name: ansible-city.kafka
version: v1.0
```
and run `ansible-galaxy install -p . -r roles.yml`
and run `ansible-galaxy install -p ./roles -r roles.yml`




Expand Down Expand Up @@ -72,4 +75,28 @@ This role uses two tags: **build** and **configure**
roles:
- name: ansible-city.kafka
kafka:
zookeeper_hosts:
- my.zookeeper.host
```

If you just want to test Kafka service build both Zookeeper and Kafka on the
same machine.

```YAML
- name: Install Kafka Server
hosts: sandbox
pre_tasks:
- name: Update apt
become: yes
apt:
cache_valid_time: 1800
update_cache: yes
tags:
- build
roles:
- name: ansible-city.zookeeper
- name: ansible-city.kafka
```
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ galaxy_info:

dependencies:
- name: ansible-city.users_and_groups
version: v1.0
users_and_groups:
groups:
- name: kafka
Expand Down

0 comments on commit 052d1fc

Please sign in to comment.