2021-08-02 19:45:50 +00:00
|
|
|
- hosts: localhost
|
|
|
|
remote_user: root
|
|
|
|
tags:
|
|
|
|
- classic
|
|
|
|
roles:
|
2021-08-04 00:13:04 +00:00
|
|
|
- role: Test_Setup
|
2021-08-02 19:45:50 +00:00
|
|
|
- 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"
|
2021-08-04 00:13:04 +00:00
|
|
|
- check_error_log_for_unexpected_errors:
|
2021-08-02 19:45:50 +00:00
|
|
|
dir: .
|
|
|
|
run: "! sudo grep -i error /var/log/httpd/error_log | grep -v \"AH01276\""
|
2021-08-04 00:13:04 +00:00
|
|
|
- check_mod_jk_configured:
|
|
|
|
dir: .
|
|
|
|
run: "grep -e \"mod_jk/.* configured -- resuming normal operations\" /var/log/httpd/error_log"
|
2021-08-02 19:45:50 +00:00
|
|
|
required_packages:
|
2021-08-06 18:27:32 +00:00
|
|
|
- mod_jk
|
2021-08-02 19:45:50 +00:00
|
|
|
- httpd
|
|
|
|
required_services:
|
|
|
|
- httpd
|