feat: First release
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
6eb187af24
commit
cc2db9930b
7 changed files with 125 additions and 1 deletions
42
README.md
42
README.md
|
@ -1,3 +1,43 @@
|
|||
# ansible-role-coller
|
||||
|
||||
Ansible role to manage a coller instance
|
||||
Ansible role to manage a [coller](https://git.riou.xyz/jriou/coller) instance.
|
||||
|
||||
## Installation
|
||||
|
||||
Clone the repository in your local Ansible roles directory:
|
||||
|
||||
```
|
||||
git clone https://git.riou.xyz/jriou/ansible-role-coller.git ~/.ansible/roles/coller
|
||||
```
|
||||
|
||||
See [Storing and finding
|
||||
roles](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_reuse_roles.html#storing-and-finding-roles).
|
||||
|
||||
## Configuration
|
||||
|
||||
See [Variable
|
||||
precedence](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_variables.html#ansible-variable-precedence)
|
||||
to find where you should put your own variables.
|
||||
|
||||
Then define at least `coller_db_password` with a strong and secure password,
|
||||
encrypted using
|
||||
[ansible-vault](https://docs.ansible.com/ansible/latest/cli/ansible-vault.html).
|
||||
|
||||
See list of [default variables](defaults/main.yml).
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
Example of a basic coller.yml playbook:
|
||||
|
||||
```yaml
|
||||
- hosts: coller
|
||||
roles:
|
||||
- coller
|
||||
```
|
||||
|
||||
Then run the playbook:
|
||||
|
||||
```
|
||||
ansible-playbook coller.yml
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue