Add pogojig template zip packing
This commit is contained in:
parent
170ba6d418
commit
cb2a558ab4
4 changed files with 11 additions and 2 deletions
|
|
@ -1 +1 @@
|
||||||
Subproject commit 04b34f73c1e0023ce4abdb9f1c9f0d9175247624
|
Subproject commit 75dd7db73fe87d57f5965d0c689257a56296201c
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
- name: Install host requisites
|
- name: Install host requisites
|
||||||
dnf:
|
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
|
state: latest
|
||||||
|
|
||||||
- name: Disable password-based root login
|
- name: Disable password-based root login
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@
|
||||||
# FIXME: make this path configurable
|
# FIXME: make this path configurable
|
||||||
src: ~/gerbolyze/gerboweb/
|
src: ~/gerbolyze/gerboweb/
|
||||||
dest: /var/lib/gerboweb/
|
dest: /var/lib/gerboweb/
|
||||||
|
rsync_opts:
|
||||||
|
- "--exclude=/deploy"
|
||||||
group: no
|
group: no
|
||||||
owner: no
|
owner: no
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,9 +27,16 @@
|
||||||
# FIXME: make this path configurable
|
# FIXME: make this path configurable
|
||||||
src: checkouts/pogojig/webapp/
|
src: checkouts/pogojig/webapp/
|
||||||
dest: /var/lib/pogojig
|
dest: /var/lib/pogojig
|
||||||
|
delete: true
|
||||||
group: no
|
group: no
|
||||||
owner: 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
|
- name: Create web home for modified tracespace
|
||||||
file:
|
file:
|
||||||
path: /var/lib/pogojig/pogospace
|
path: /var/lib/pogojig/pogospace
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue