ansible-nas/roles/mumble/molecule/default/verify.yml
Justin D. Fetherolf 4f19f6ae47 refactor(mumble): lint and mv molecule directory
The molecule directory was named incorrectly, and there were linting errors.

Refs: #620
2022-12-09 18:28:14 -07:00

19 lines
462 B
YAML

---
- name: Verify
hosts: all
gather_facts: false
tasks:
- name: Include vars
include_vars:
file: ../../defaults/main.yml
- name: Get container state
docker_container_info:
name: "{{ mumble_container_name }}"
register: result
- name: Check Mumble is running
assert:
that:
- result.container['State']['Status'] == "running"
- result.container['State']['Restarting'] == false