Add molecule test for role

Only test default installation with jbig2enc and sqlite
This commit is contained in:
Fabian Koller
2020-12-28 11:28:19 +01:00
parent ef9631ae24
commit 1276419ec6
4 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
---
# This is an example playbook to execute Ansible tests.
- name: Verify
hosts: all
gather_facts: false
tasks:
- name: check if webserver is up
uri:
url: http://localhost:8000
status_code: [200, 302]
return_content: yes
register: landingpage
failed_when: "'Sign in</button>' not in landingpage.content"