Testaufruf der angelegten Seiten für ams0013 eingebaut

Hiermit kann man über den Aufruf des /test/test.yml prüfen ob die Seiten auch richtig antworten. Wie das aufgerufen wird steht im ReadMe von ams0013_8.0.9.0
This commit is contained in:
Marcus Gillitzer
2020-06-16 17:16:22 +02:00
parent 590a6e0a22
commit aa1aa62fab
6 changed files with 62 additions and 8 deletions

View File

@ -1,2 +0,0 @@
localhost

View File

@ -1,5 +1,23 @@
---
- hosts: localhost
remote_user: root
roles:
- default_role
- name: test site
hosts: development
become: yes
tasks:
- name: check website AppServer
uri:
url: "http://{{ ansible_facts['default_ipv4']['address'] }}:8080/appserver/dispatcher/hello"
- name: check website AppServerAdmin
uri:
url: "http://{{ ansible_facts['default_ipv4']['address'] }}:8181/appserver/dispatcher/hello"
- name: check website CV-SNIT
uri:
url: "http://{{ ansible_facts['default_ipv4']['address'] }}:7272/imp20/htmlclient"
status_code: 403
- name: check website BV-SNIT
uri:
url: "http://{{ ansible_facts['default_ipv4']['address'] }}:7373/bv/ws"
status_code: 405