This is the Ansible Collection l3d.pretix. A collection to to install pretix-ui on linux servers.
It is inspired by this install guide from docs.pretix.eu.
- - Ansible role to install pretix 
- - Ansible role to install postgres - optimized for pretix 
- - Ansible role to install nodejs - optimized for pretix 
- - Ansible role to install redis - optimized for pretix 
The roles l3d.pretix.nodejs, l3d.pretix.postgres and l3d.pretix.redis are needed to install all requirements for Pretix. The You can install pretix using l3d.pretix.pretix.
You can install the collection using ansible-galaxy by running:
ansible-galaxy collection install l3d.pretix:1.0.1Remember you can to Upgrade to the latest version of the l3d.pretix collection using the --upgrade parameter:
ansible-galaxy collection install l3d.pretix --upgradeOr you could clone this collection in your local ansible project for example to collections/ansible_collections/l3d.pretix/. Make sure you checkout git submodules too. Example:
# Clone git Repo with submodules to specified path
git clone --recursive https://github.com/roles-ansible/ansible_collection_pretix.git collections/ansible_collections/l3d/pretix/
# change directory
cd collections/ansible_collections/l3d.pretix/
# optionally init git submodules
git submodule update --init --recursive
# optionally install all requirements
ansible-galaxy collection install -r requirements.yml --upgrade
You can also list a collection in requirements.yml:
---
collections:
  - name: l3d.pretix
    version: ">=1.0.1"Example Playbook to install Pretix:
---
- name: Setup Pretix at pretix.example.org
  hosts: pretix.example.org
  become: true
  roles:
    - {role: l3d.pretix.postgres, tags: pretix}
    - {role: l3d.pretix.redis, tags: pretix}
    - {role: l3d.pretix.nodejs, tags: pretix}
    - {role: l3d.pretix.pretix, tags: pretix}
  vars:
    pretix__db_password: 'T0ll3s_P@ssw0rt'The roles in this collection using the community.general and community.postgresql ansible Collections.
L3D [email protected] and Contibutors