23 lines
657 B
YAML
23 lines
657 B
YAML
- hosts: localhost
|
|
remote_user: root
|
|
tags:
|
|
- classic
|
|
roles:
|
|
- role: Test_Setup
|
|
- role: standard-test-basic
|
|
tests:
|
|
- verify_httpd_up:
|
|
dir: .
|
|
run: "curl http://localhost/ &> testfile.log || true && grep '<strong>Test Page</strong>' testfile.log"
|
|
- check_error_log_for_unexpected_errors:
|
|
dir: .
|
|
run: "! sudo grep -i error /var/log/httpd/error_log | grep -v \"AH01276\""
|
|
- check_mod_jk_configured:
|
|
dir: .
|
|
run: "grep -e \"mod_jk/.* configured -- resuming normal operations\" /var/log/httpd/error_log"
|
|
required_packages:
|
|
- mod_jk
|
|
- httpd
|
|
required_services:
|
|
- httpd
|