mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
feat: Add pretix-passbook and always rebuild static files
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
- pretix
|
- pretix
|
||||||
- gunicorn
|
- gunicorn
|
||||||
- legacy_cgi
|
- legacy_cgi
|
||||||
|
- pretix-passbook
|
||||||
extra_args: --user
|
extra_args: --user
|
||||||
- name: Create config file
|
- name: Create config file
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
@@ -27,7 +28,6 @@
|
|||||||
- name: Prepare static files
|
- name: Prepare static files
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: "{{ python_executable }} -m pretix rebuild"
|
cmd: "{{ python_executable }} -m pretix rebuild"
|
||||||
creates: /home/{{ ssh_user }}/.local/lib/{{ python_executable }}/site-packages/pretix/static.dist
|
|
||||||
register: static_files
|
register: static_files
|
||||||
- name: Move static files to Apache
|
- name: Move static files to Apache
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
|||||||
Reference in New Issue
Block a user