Skip to content

Commit 7d55160

Browse files
committed
Reorganize tests and diagnostics correctly
1 parent e11ed1e commit 7d55160

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

tests/test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
- hosts: netbox
33
tasks:
4+
- name: Ensure that NetBox returns a successful HTTP response
5+
uri:
6+
url: "http://{{ inventory_hostname }}:8080"
47
- block:
58
- name: Print out test environment definitions for each container
69
debug:
@@ -9,15 +12,16 @@
912
- netbox_stable
1013
- netbox_git
1114
- netbox_python
12-
- name: Ensure that NetBox returns a successful HTTP response
13-
uri:
14-
url: "http://{{ inventory_hostname }}:8080"
1515
- name: uWSGI/NetBox service status
1616
shell: "systemctl status netbox.service"
17+
changed_when: False
1718
- name: uWSGI/NetBox service journal
1819
shell: "journalctl --no-pager -xu netbox.service"
20+
changed_when: False
1921
- name: NetBox application log
2022
shell: cat /srv/netbox/shared/application.log
23+
changed_when: False
2124
- name: NetBox configuration
2225
shell: cat /srv/netbox/shared/configuration.py
26+
changed_when: False
2327
ignore_errors: yes

0 commit comments

Comments
 (0)