|
@@ -5,23 +5,23 @@
|
|
|
vars:
|
|
|
# common
|
|
|
ca_certificates:
|
|
|
testca: "{{ lookup('file', 'tests/data/x509/ca.cert.pem') }}"
|
|
|
testca: "{{ lookup('file', 'tests/data/x509/ca/level1.cert.pem') }}"
|
|
|
|
|
|
# web_server
|
|
|
default_https_tls_certificate: "{{ lookup('file', 'tests/data/x509/wsgi-website_https.cert.pem') }}"
|
|
|
default_https_tls_key: "{{ lookup('file', 'tests/data/x509/wsgi-website_https.key.pem') }}"
|
|
|
default_https_tls_certificate: "{{ lookup('file', 'tests/data/x509/server/wsgi-website_https.cert.pem') }}"
|
|
|
default_https_tls_key: "{{ lookup('file', 'tests/data/x509/server/wsgi-website_https.key.pem') }}"
|
|
|
|
|
|
roles:
|
|
|
- role: wsgi_website
|
|
|
fqdn: parameters-mandatory
|
|
|
https_tls_certificate: "{{ lookup('file', 'tests/data/x509/parameters-mandatory_https.cert.pem') }}"
|
|
|
https_tls_key: "{{ lookup('file', 'tests/data/x509/parameters-mandatory_https.key.pem') }}"
|
|
|
https_tls_certificate: "{{ lookup('file', 'tests/data/x509/server/parameters-mandatory_https.cert.pem') }}"
|
|
|
https_tls_key: "{{ lookup('file', 'tests/data/x509/server/parameters-mandatory_https.key.pem') }}"
|
|
|
wsgi_application: testapp:application
|
|
|
|
|
|
- role: wsgi_website
|
|
|
fqdn: parameters-optional.local
|
|
|
https_tls_certificate: "{{ lookup('file', 'tests/data/x509/parameters-optional.local_https.cert.pem') }}"
|
|
|
https_tls_key: "{{ lookup('file', 'tests/data/x509/parameters-optional.local_https.key.pem') }}"
|
|
|
https_tls_certificate: "{{ lookup('file', 'tests/data/x509/server/parameters-optional.local_https.cert.pem') }}"
|
|
|
https_tls_key: "{{ lookup('file', 'tests/data/x509/server/parameters-optional.local_https.key.pem') }}"
|
|
|
additional_nginx_config:
|
|
|
- comment: Custom missing page.
|
|
|
value: error_page 404 /my/own/error/page;
|
|
@@ -83,8 +83,8 @@
|
|
|
wsgi_requirements:
|
|
|
- futures==3.1.0
|
|
|
- gunicorn==19.7.0
|
|
|
https_tls_certificate: "{{ lookup('file', 'tests/data/x509/parameters-paste-req_https.cert.pem') }}"
|
|
|
https_tls_key: "{{ lookup('file', 'tests/data/x509/parameters-paste-req_https.key.pem') }}"
|
|
|
https_tls_certificate: "{{ lookup('file', 'tests/data/x509/server/parameters-paste-req_https.cert.pem') }}"
|
|
|
https_tls_key: "{{ lookup('file', 'tests/data/x509/server/parameters-paste-req_https.key.pem') }}"
|
|
|
|
|
|
- hosts: wsgi-website
|
|
|
become: true
|