diff options
author | jaseg <code@jaseg.net> | 2019-09-29 17:11:10 +0200 |
---|---|---|
committer | jaseg <code@jaseg.net> | 2019-09-29 17:11:10 +0200 |
commit | cbbdba053e9eca935ad80eb35e0ede4bb84776df (patch) | |
tree | f77257962841d57cb916277e2855635c47a22c8c /gerboweb | |
parent | aaacaed22082df3ec338b1bc795ebe3013c450c8 (diff) | |
download | gerbolyze-cbbdba053e9eca935ad80eb35e0ede4bb84776df.tar.gz gerbolyze-cbbdba053e9eca935ad80eb35e0ede4bb84776df.tar.bz2 gerbolyze-cbbdba053e9eca935ad80eb35e0ede4bb84776df.zip |
Add pogojig template zip packing
Diffstat (limited to 'gerboweb')
m--------- | gerboweb/deploy/checkouts/pogojig | 0 | ||||
-rw-r--r-- | gerboweb/deploy/playbook.yml | 2 | ||||
-rw-r--r-- | gerboweb/deploy/setup_gerboweb.yml | 2 | ||||
-rw-r--r-- | gerboweb/deploy/setup_pogojig.yml | 7 |
4 files changed, 10 insertions, 1 deletions
diff --git a/gerboweb/deploy/checkouts/pogojig b/gerboweb/deploy/checkouts/pogojig -Subproject 04b34f73c1e0023ce4abdb9f1c9f0d917524762 +Subproject 75dd7db73fe87d57f5965d0c689257a56296201 diff --git a/gerboweb/deploy/playbook.yml b/gerboweb/deploy/playbook.yml index 6d558d3..0d16d7f 100644 --- a/gerboweb/deploy/playbook.yml +++ b/gerboweb/deploy/playbook.yml @@ -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 diff --git a/gerboweb/deploy/setup_gerboweb.yml b/gerboweb/deploy/setup_gerboweb.yml index e1a49fb..c06444c 100644 --- a/gerboweb/deploy/setup_gerboweb.yml +++ b/gerboweb/deploy/setup_gerboweb.yml @@ -27,6 +27,8 @@ # FIXME: make this path configurable src: ~/gerbolyze/gerboweb/ dest: /var/lib/gerboweb/ + rsync_opts: + - "--exclude=/deploy" group: no owner: no diff --git a/gerboweb/deploy/setup_pogojig.yml b/gerboweb/deploy/setup_pogojig.yml index 8a4c827..cf49fbe 100644 --- a/gerboweb/deploy/setup_pogojig.yml +++ b/gerboweb/deploy/setup_pogojig.yml @@ -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 |