mod_jk/tests/tests.yml

19 lines
470 B
YAML
Raw Normal View History

- hosts: localhost
remote_user: root
tags:
- classic
roles:
- role: standard-test-basic
tests:
- verify_httpd_up:
dir: .
2021-08-03 00:36:07 +00:00
run: "curl http://localhost/ &> testfile.log || true && grep '<strong>Test Page</strong>' testfile.log"
- check_error_log:
dir: .
run: "! sudo grep -i error /var/log/httpd/error_log | grep -v \"AH01276\""
required_packages:
- mod_jk-ap24
- httpd
required_services:
- httpd