File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
- hosts : netbox
3
3
tasks :
4
+ - name : Ensure that NetBox returns a successful HTTP response
5
+ uri :
6
+ url : " http://{{ inventory_hostname }}:8080"
4
7
- block :
5
8
- name : Print out test environment definitions for each container
6
9
debug :
9
12
- netbox_stable
10
13
- netbox_git
11
14
- netbox_python
12
- - name : Ensure that NetBox returns a successful HTTP response
13
- uri :
14
- url : " http://{{ inventory_hostname }}:8080"
15
15
- name : uWSGI/NetBox service status
16
16
shell : " systemctl status netbox.service"
17
+ changed_when : False
17
18
- name : uWSGI/NetBox service journal
18
19
shell : " journalctl --no-pager -xu netbox.service"
20
+ changed_when : False
19
21
- name : NetBox application log
20
22
shell : cat /srv/netbox/shared/application.log
23
+ changed_when : False
21
24
- name : NetBox configuration
22
25
shell : cat /srv/netbox/shared/configuration.py
26
+ changed_when : False
23
27
ignore_errors : yes
You can’t perform that action at this time.
0 commit comments