2019-01-18 13:33:47 +00:00
|
|
|
|
2019-01-18 13:35:00 +00:00
|
|
|
Ansible cat
|
|
|
|
===========
|
2019-01-18 13:25:29 +00:00
|
|
|
|
2019-01-18 13:35:00 +00:00
|
|
|
This repo contains the ansible role needed to deploy the [cat](https://git.zeus.gent/zeuswpi/cat) project
|
2019-01-18 13:32:22 +00:00
|
|
|
|
2019-01-29 22:18:25 +00:00
|
|
|
Downloading
|
|
|
|
-----------
|
2019-01-21 21:09:42 +00:00
|
|
|
Add the src of this repo to your requirements.yml file.
|
|
|
|
|
|
|
|
- src: git+https://git.zeus.gent/zeuswpi/ansible__cat
|
|
|
|
|
|
|
|
Then use following command to install the role
|
|
|
|
|
|
|
|
ansible-galaxy install -r requirements.yml
|
|
|
|
|
2019-01-29 22:18:25 +00:00
|
|
|
Usage
|
|
|
|
-----
|
2019-01-18 13:32:22 +00:00
|
|
|
|
2019-01-29 22:18:25 +00:00
|
|
|
Example of how to use the role in a playbook
|
2019-01-18 13:32:22 +00:00
|
|
|
|
|
|
|
- hosts: servers
|
|
|
|
roles:
|
2019-01-29 22:18:25 +00:00
|
|
|
- role: ansible_cat
|
|
|
|
vars:
|
|
|
|
mariadb_root_password: *****
|
|
|
|
cat_db_password: *****
|
2019-01-18 13:32:22 +00:00
|
|
|
|
2019-01-29 22:18:25 +00:00
|
|
|
There are 2 required parameters, the mariadb root password and the cat database password.
|
2019-01-18 13:32:22 +00:00
|
|
|
|
|
|
|
|
2019-01-29 22:18:25 +00:00
|
|
|
The server will run on port 3000 by default.
|
2019-01-18 13:32:22 +00:00
|
|
|
|
2019-01-29 22:18:25 +00:00
|
|
|
Other customizable parameters are listed in the defaults folder of the role.
|