diff --git a/testsite/playbooks/roles/wsgihello/files/hello.wsgi b/testsite/playbooks/roles/wsgihello/files/hello.wsgi new file mode 100644 index 0000000000000000000000000000000000000000..307a0f246d6a171099bc08fee7c8cacdcd34692e --- /dev/null +++ b/testsite/playbooks/roles/wsgihello/files/hello.wsgi @@ -0,0 +1,11 @@ +#!/usr/bin/env python + +def application(environ, start_response): + status = '200 OK' + output = 'Hello, world one!' + + response_headers = [('Content-type', 'text/plain'), + ('Content-Length', str(len(output)))] + start_response(status, response_headers) + + return [output]