Bazarr tests

This commit is contained in:
David Stephens 2022-09-11 17:58:53 +01:00
parent 6058a4157b
commit 81da82de8f

View 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