Go to file
meaz 87e00105f7
custom content var should be disable by default
2023-05-06 16:56:06 +02:00
Playbooks init 2022-07-27 20:35:57 +02:00
defaults custom content var should be disable by default 2023-05-06 16:56:06 +02:00
files init 2022-07-27 20:35:57 +02:00
tasks fix issue with www ownership 2023-05-06 16:47:49 +02:00
templates/var/www/cstate init 2022-07-27 20:35:57 +02:00
.gitignore init 2022-07-27 20:35:57 +02:00
LICENSE init 2022-07-27 20:35:57 +02:00
README.MD 1.0 2023-05-06 16:05:02 +02:00
Vagrantfile 1.0 2023-05-06 16:05:02 +02:00

README.MD

Cstate - Ansible role

This role covers deployment, configuration and software updates of Cstate. This role is released under MIT Licence and we give no warranty for this piece of software. Currently supported OS - Debian.

You can deploy test instance using Vagrantfile attached to the role. vagrant up

ansible-playbook -b Playbooks/cstate.yml

Then you can access cstate from your computer on http://192.168.33.20

Playbook

The playbook includes nginx role and deploys entire stack needed to run Cstate. Additional role is also available in the Ansible roles repos in git.

Guide

If you don't provide your own already-built site (with cstate_repo in defaults/main.yml), then the role uses the cstate example repo to build one. You may then deploy your site by copying the share/public/ directory to your production web server.

Once done, you can create issues files inside the share/content/issues/ folder on your host. Then use ansible-playbook -b Playbooks/cstate.yml --tags generate to build those page in the public/ directory.

To update cstate just include --tags update to your playbook.

Issue with vagrant

You may have to add sendfile off; to your Nginx config when using the role with Vagrant and a shared folder. See info

CHANGELOG

  • 06.06.2022 - Create the role