Skip to content

Commit 301bb7c

Browse files
author
Tom Softreck
committed
ansible tests
1 parent 061039d commit 301bb7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ansible/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@
4949
debug:
5050
msg:
5151
- "Traefik Dashboard: {{ 'Accessible' if traefik_dashboard.status == 200 else 'Not Accessible' }}"
52-
- "Projekt1 Status: {{ projekt1_check.status }} - Content: {{ projekt1_check.content | b64decode | regex_search('>([^<]+)<') | default('No content') }}"
53-
- "Projekt2 Status: {{ projekt2_check.status }} - Content: {{ projekt2_check.content | b64decode | regex_search('>([^<]+)<') | default('No content') }}"
52+
- "Projekt1 Status: {{ projekt1_check.status }} - Content: {{ projekt1_check.content | default('No content') | truncate(80) }}"
53+
- "Projekt2 Status: {{ projekt2_check.status }} - Content: {{ projekt2_check.content | default('No content') | truncate(80) }}"

0 commit comments

Comments
 (0)