Add pogojig template zip packing

pull/5/head
jaseg 2019-09-29 17:11:10 +02:00
rodzic aaacaed220
commit cbbdba053e
4 zmienionych plików z 11 dodań i 2 usunięć

@ -1 +1 @@
Subproject commit 04b34f73c1e0023ce4abdb9f1c9f0d9175247624
Subproject commit 75dd7db73fe87d57f5965d0c689257a56296201c

Wyświetl plik

@ -12,7 +12,7 @@
- name: Install host requisites
dnf:
name: nginx,uwsgi,python3-flask,python3-flask-wtf,uwsgi-plugin-python3,certbot,python3-certbot-nginx,libselinux-python,git,iptables-services,python3-pycryptodomex
name: nginx,uwsgi,python3-flask,python3-flask-wtf,uwsgi-plugin-python3,certbot,python3-certbot-nginx,libselinux-python,git,iptables-services,python3-pycryptodomex,zip
state: latest
- name: Disable password-based root login

Wyświetl plik

@ -27,6 +27,8 @@
# FIXME: make this path configurable
src: ~/gerbolyze/gerboweb/
dest: /var/lib/gerboweb/
rsync_opts:
- "--exclude=/deploy"
group: no
owner: no

Wyświetl plik

@ -27,9 +27,16 @@
# FIXME: make this path configurable
src: checkouts/pogojig/webapp/
dest: /var/lib/pogojig
delete: true
group: no
owner: no
- name: Pack makefile template zip
archive:
path: "{{pogojig_root}}/var/lib/pogojig_renderer"
dest: /var/lib/pogojig/static/pogojig_makefile_template.zip
format: zip
- name: Create web home for modified tracespace
file:
path: /var/lib/pogojig/pogospace