Skip to content

Commit

Permalink
added pywps template for Ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Sep 4, 2018
1 parent 200bf5a commit 4070222
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions ecaswps/templates/pywps_ansible.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[server]
url = http://{{ item.hostname | default('localhost') }}:{{ item.port }}/wps
outputurl = http://{{ item.hostname | default('localhost' )}}:{{ item.port }}/outputs/{{ item.name }}
allowedinputpaths = /
maxsingleinputsize = {{ item.maxsingleinputsize | default('200mb') }}
maxrequestsize = {{ item.maxrequestsize | default('200mb') }}
maxprocesses = {{ item.maxprocesses | default('30') }}
parallelprocesses = {{ item.parallelprocesses | default('4') }}
outputpath= /var/lib/pywps/outputs/{{ item.name }}
workdir=/var/lib/pywps/tmp/{{ item.name }}

[logging]
level = {{ item.log_level | default('INFO') }}
file = /var/log/pywps/{{ item.name }}.log
database = {{ wps_database }}
format = %(asctime)s] [%(levelname)s] %(message)s

[data]
archive_root = {{ item.archive_root|default('/data/cmip5/data') }}

[ophidia]
username = {{ item.ophidia_username }}
password = {{ item.ophidia_password }}
server = {{ item.ophidia_server | default('localhost') }}
port = {{ item.ophidia_port | default('11732') }}
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- conda-forge
- defaults
dependencies:
- pywps=4.1.10
- pywps=4.1.15
- owslib=0.17
- jinja2
- click
Expand Down

0 comments on commit 4070222

Please sign in to comment.