Go to file
flynn 48c3faef77 Update cat.service 2019-09-17 17:25:54 +02:00
defaults fix db port 2019-02-14 01:28:46 +01:00
logo finish basic task script, remove non used folders 2019-01-18 21:10:14 +01:00
meta finish basic task script, remove non used folders 2019-01-18 21:10:14 +01:00
tasks Fix ansible and DB URL 2019-06-13 20:38:38 +02:00
templates Update cat.service 2019-09-17 17:25:54 +02:00
tests add ansible-galaxy role template 2019-01-18 14:32:22 +01:00
vars add all env vars that are needed 2019-02-14 01:20:16 +01:00
.gitignore add systemd service and start script 2019-01-21 22:56:36 +01:00
README.md change postgres to mariadb 2019-01-29 23:18:25 +01:00
requirements.yml change postgres to mariadb 2019-01-29 23:18:25 +01:00

README.md

Ansible cat

This repo contains the ansible role needed to deploy the cat project

Downloading

Add the src of this repo to your requirements.yml file.

Then use following command to install the role

ansible-galaxy install -r requirements.yml

Usage

Example of how to use the role in a playbook

- hosts: servers
  roles:
     - role: ansible_cat
        vars:
            mariadb_root_password: *****
            cat_db_password: *****

There are 2 required parameters, the mariadb root password and the cat database password.

The server will run on port 3000 by default.

Other customizable parameters are listed in the defaults folder of the role.