mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 19:48:47 +00:00
Bazarr tests
This commit is contained in:
parent
6058a4157b
commit
81da82de8f
1 changed files with 18 additions and 0 deletions
18
roles/bazarr/molecule/default/verify.yml
Normal file
18
roles/bazarr/molecule/default/verify.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
- name: Verify
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- include_vars:
|
||||
file: ../../defaults/main.yml
|
||||
|
||||
- name: Get container state
|
||||
docker_container_info:
|
||||
name: "{{ bazarr_container_name }}"
|
||||
register: result
|
||||
|
||||
- name: Check Bazarr is running
|
||||
assert:
|
||||
that:
|
||||
- result.container['State']['Status'] == "running"
|
||||
- result.container['State']['Restarting'] == false
|
Loading…
Reference in a new issue