diff --git a/roles/wsgi_website/molecule/default/playbook.yml b/roles/wsgi_website/molecule/default/playbook.yml index a4643d6c3efe3352b527bb414402abcc37a6a9f6..f7ca47a388e6789c177af87fb7196ee60a8c7295 100644 --- a/roles/wsgi_website/molecule/default/playbook.yml +++ b/roles/wsgi_website/molecule/default/playbook.yml @@ -11,17 +11,17 @@ 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') }}" - # Common parameters (general, not role). - tls_certificate_dir: tests/data/x509/ - tls_private_key_dir: tests/data/x509/ - 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') }}" 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') }}" additional_nginx_config: - comment: Custom missing page. value: error_page 404 /my/own/error/page; @@ -35,8 +35,6 @@ MY_ENV_VAR: "My environment variable" futures_version: 3.1.0 gunicorn_version: 19.7.0 - 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') }}" packages: - "libmariadbclient-dev-compat" - global