diff --git a/roles/cloudcmd/molecule/default/molecule.yml b/roles/cloudcmd/molecule/default/molecule.yml new file mode 100644 index 00000000..fafb9404 --- /dev/null +++ b/roles/cloudcmd/molecule/default/molecule.yml @@ -0,0 +1,6 @@ +--- +provisioner: + inventory: + group_vars: + all: + cloudcmd_enabled: true diff --git a/roles/cloudcmd/molecule/default/side_effect.yml b/roles/cloudcmd/molecule/default/side_effect.yml new file mode 100644 index 00000000..a8be3526 --- /dev/null +++ b/roles/cloudcmd/molecule/default/side_effect.yml @@ -0,0 +1,10 @@ +--- +- name: Stop + hosts: all + become: true + tasks: + - name: "Include {{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }} role" + include_role: + name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" + vars: + cloudcmd_enabled: false diff --git a/roles/cloudcmd/molecule/default/verify.yml b/roles/cloudcmd/molecule/default/verify.yml new file mode 100644 index 00000000..abef5b4a --- /dev/null +++ b/roles/cloudcmd/molecule/default/verify.yml @@ -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: "{{ cloudcmd_container_name }}" + register: result + + - name: Check Cloudcmd is running + assert: + that: + - result.container['State']['Status'] == "running" + - result.container['State']['Restarting'] == false diff --git a/roles/cloudcmd/molecule/default/verify_stopped.yml b/roles/cloudcmd/molecule/default/verify_stopped.yml new file mode 100644 index 00000000..68ad0d3b --- /dev/null +++ b/roles/cloudcmd/molecule/default/verify_stopped.yml @@ -0,0 +1,18 @@ +--- +- name: Verify + hosts: all + gather_facts: false + tasks: + - include_vars: + file: ../../defaults/main.yml + + - name: Try and stop and remove Cloudcmd + docker_container: + name: "{{ cloudcmd_container_name }}" + state: absent + register: result + + - name: Check Cloudcmd is stopped + assert: + that: + - not result.changed diff --git a/roles/cloudflare_ddns/molecule/default/molecule.yml b/roles/cloudflare_ddns/molecule/default/molecule.yml new file mode 100644 index 00000000..6db8afe1 --- /dev/null +++ b/roles/cloudflare_ddns/molecule/default/molecule.yml @@ -0,0 +1,6 @@ +--- +provisioner: + inventory: + group_vars: + all: + cloudflare_ddns_enabled: true diff --git a/roles/cloudflare_ddns/molecule/default/side_effect.yml b/roles/cloudflare_ddns/molecule/default/side_effect.yml new file mode 100644 index 00000000..a43eaa62 --- /dev/null +++ b/roles/cloudflare_ddns/molecule/default/side_effect.yml @@ -0,0 +1,10 @@ +--- +- name: Stop + hosts: all + become: true + tasks: + - name: "Include {{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }} role" + include_role: + name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" + vars: + cloudflare_ddns_enabled: false diff --git a/roles/cloudflare_ddns/molecule/default/verify.yml b/roles/cloudflare_ddns/molecule/default/verify.yml new file mode 100644 index 00000000..0e92e82e --- /dev/null +++ b/roles/cloudflare_ddns/molecule/default/verify.yml @@ -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: "{{ cloudflare_container_name }}" + register: result + + - name: Check Cloudflare DDNS is running + assert: + that: + - result.container['State']['Status'] == "running" + - result.container['State']['Restarting'] == false diff --git a/roles/cloudflare_ddns/molecule/default/verify_stopped.yml b/roles/cloudflare_ddns/molecule/default/verify_stopped.yml new file mode 100644 index 00000000..e2273930 --- /dev/null +++ b/roles/cloudflare_ddns/molecule/default/verify_stopped.yml @@ -0,0 +1,18 @@ +--- +- name: Verify + hosts: all + gather_facts: false + tasks: + - include_vars: + file: ../../defaults/main.yml + + - name: Try and stop and remove Cloudflare DDNS + docker_container: + name: "{{ cloudflare_container_name }}" + state: absent + register: result + + - name: Check Cloudflare DDNS is stopped + assert: + that: + - not result.changed diff --git a/roles/code-server/molecule/default/molecule.yml b/roles/code-server/molecule/default/molecule.yml new file mode 100644 index 00000000..bcd85fdf --- /dev/null +++ b/roles/code-server/molecule/default/molecule.yml @@ -0,0 +1,6 @@ +--- +provisioner: + inventory: + group_vars: + all: + code_server_enabled: true diff --git a/roles/code-server/molecule/default/side_effect.yml b/roles/code-server/molecule/default/side_effect.yml new file mode 100644 index 00000000..788fea61 --- /dev/null +++ b/roles/code-server/molecule/default/side_effect.yml @@ -0,0 +1,10 @@ +--- +- name: Stop + hosts: all + become: true + tasks: + - name: "Include {{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }} role" + include_role: + name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" + vars: + code_server_enabled: false diff --git a/roles/code-server/molecule/default/verify.yml b/roles/code-server/molecule/default/verify.yml new file mode 100644 index 00000000..970070c6 --- /dev/null +++ b/roles/code-server/molecule/default/verify.yml @@ -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: "{{ code_server_container_name }}" + register: result + + - name: Check Code Server is running + assert: + that: + - result.container['State']['Status'] == "running" + - result.container['State']['Restarting'] == false diff --git a/roles/code-server/molecule/default/verify_stopped.yml b/roles/code-server/molecule/default/verify_stopped.yml new file mode 100644 index 00000000..5cba43cc --- /dev/null +++ b/roles/code-server/molecule/default/verify_stopped.yml @@ -0,0 +1,18 @@ +--- +- name: Verify + hosts: all + gather_facts: false + tasks: + - include_vars: + file: ../../defaults/main.yml + + - name: Try and stop and remove Code Server + docker_container: + name: "{{ code_server_container_name }}" + state: absent + register: result + + - name: Check Code Server is stopped + assert: + that: + - not result.changed diff --git a/roles/couchpotato/molecule/default/molecule.yml b/roles/couchpotato/molecule/default/molecule.yml new file mode 100644 index 00000000..cbafe9a0 --- /dev/null +++ b/roles/couchpotato/molecule/default/molecule.yml @@ -0,0 +1,6 @@ +--- +provisioner: + inventory: + group_vars: + all: + couchpotato_enabled: true diff --git a/roles/couchpotato/molecule/default/side_effect.yml b/roles/couchpotato/molecule/default/side_effect.yml new file mode 100644 index 00000000..462d2410 --- /dev/null +++ b/roles/couchpotato/molecule/default/side_effect.yml @@ -0,0 +1,10 @@ +--- +- name: Stop + hosts: all + become: true + tasks: + - name: "Include {{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }} role" + include_role: + name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" + vars: + couchpotato_enabled: false diff --git a/roles/couchpotato/molecule/default/verify.yml b/roles/couchpotato/molecule/default/verify.yml new file mode 100644 index 00000000..3031e902 --- /dev/null +++ b/roles/couchpotato/molecule/default/verify.yml @@ -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: "{{ couchpotato_container_name }}" + register: result + + - name: Check Couchpotato is running + assert: + that: + - result.container['State']['Status'] == "running" + - result.container['State']['Restarting'] == false diff --git a/roles/couchpotato/molecule/default/verify_stopped.yml b/roles/couchpotato/molecule/default/verify_stopped.yml new file mode 100644 index 00000000..213afef4 --- /dev/null +++ b/roles/couchpotato/molecule/default/verify_stopped.yml @@ -0,0 +1,18 @@ +--- +- name: Verify + hosts: all + gather_facts: false + tasks: + - include_vars: + file: ../../defaults/main.yml + + - name: Try and stop and remove Couchpotato + docker_container: + name: "{{ couchpotato_container_name }}" + state: absent + register: result + + - name: Check Couchpotato is stopped + assert: + that: + - not result.changed diff --git a/roles/dashy/molecule/default/molecule.yml b/roles/dashy/molecule/default/molecule.yml new file mode 100644 index 00000000..e9b37427 --- /dev/null +++ b/roles/dashy/molecule/default/molecule.yml @@ -0,0 +1,6 @@ +--- +provisioner: + inventory: + group_vars: + all: + dashy_enabled: true diff --git a/roles/dashy/molecule/default/side_effect.yml b/roles/dashy/molecule/default/side_effect.yml new file mode 100644 index 00000000..de8025c3 --- /dev/null +++ b/roles/dashy/molecule/default/side_effect.yml @@ -0,0 +1,10 @@ +--- +- name: Stop + hosts: all + become: true + tasks: + - name: "Include {{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }} role" + include_role: + name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" + vars: + dashy_enabled: false diff --git a/roles/dashy/molecule/default/verify.yml b/roles/dashy/molecule/default/verify.yml new file mode 100644 index 00000000..6c1bc594 --- /dev/null +++ b/roles/dashy/molecule/default/verify.yml @@ -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: "{{ dashy_container_name }}" + register: result + + - name: Check Dashy is running + assert: + that: + - result.container['State']['Status'] == "running" + - result.container['State']['Restarting'] == false diff --git a/roles/dashy/molecule/default/verify_stopped.yml b/roles/dashy/molecule/default/verify_stopped.yml new file mode 100644 index 00000000..1748897f --- /dev/null +++ b/roles/dashy/molecule/default/verify_stopped.yml @@ -0,0 +1,18 @@ +--- +- name: Verify + hosts: all + gather_facts: false + tasks: + - include_vars: + file: ../../defaults/main.yml + + - name: Try and stop and remove Dashy + docker_container: + name: "{{ dashy_container_name }}" + state: absent + register: result + + - name: Check Dashy is stopped + assert: + that: + - not result.changed diff --git a/roles/deluge/molecule/default/molecule.yml b/roles/deluge/molecule/default/molecule.yml new file mode 100644 index 00000000..0991f2ed --- /dev/null +++ b/roles/deluge/molecule/default/molecule.yml @@ -0,0 +1,6 @@ +--- +provisioner: + inventory: + group_vars: + all: + deluge_enabled: true diff --git a/roles/deluge/molecule/default/side_effect.yml b/roles/deluge/molecule/default/side_effect.yml new file mode 100644 index 00000000..7a856d78 --- /dev/null +++ b/roles/deluge/molecule/default/side_effect.yml @@ -0,0 +1,10 @@ +--- +- name: Stop + hosts: all + become: true + tasks: + - name: "Include {{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }} role" + include_role: + name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" + vars: + deluge_enabled: false diff --git a/roles/deluge/molecule/default/verify.yml b/roles/deluge/molecule/default/verify.yml new file mode 100644 index 00000000..6d815a89 --- /dev/null +++ b/roles/deluge/molecule/default/verify.yml @@ -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: "{{ deluge_container_name }}" + register: result + + - name: Check Deluge is running + assert: + that: + - result.container['State']['Status'] == "running" + - result.container['State']['Restarting'] == false diff --git a/roles/deluge/molecule/default/verify_stopped.yml b/roles/deluge/molecule/default/verify_stopped.yml new file mode 100644 index 00000000..9d4abcbe --- /dev/null +++ b/roles/deluge/molecule/default/verify_stopped.yml @@ -0,0 +1,18 @@ +--- +- name: Verify + hosts: all + gather_facts: false + tasks: + - include_vars: + file: ../../defaults/main.yml + + - name: Try and stop and remove Deluge + docker_container: + name: "{{ deluge_container_name }}" + state: absent + register: result + + - name: Check Deluge is stopped + assert: + that: + - not result.changed diff --git a/roles/dokuwiki/molecule/default/molecule.yml b/roles/dokuwiki/molecule/default/molecule.yml new file mode 100644 index 00000000..fd3041c6 --- /dev/null +++ b/roles/dokuwiki/molecule/default/molecule.yml @@ -0,0 +1,6 @@ +--- +provisioner: + inventory: + group_vars: + all: + dokuwiki_enabled: true diff --git a/roles/dokuwiki/molecule/default/side_effect.yml b/roles/dokuwiki/molecule/default/side_effect.yml new file mode 100644 index 00000000..d161636c --- /dev/null +++ b/roles/dokuwiki/molecule/default/side_effect.yml @@ -0,0 +1,10 @@ +--- +- name: Stop + hosts: all + become: true + tasks: + - name: "Include {{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }} role" + include_role: + name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" + vars: + dokuwiki_enabled: false diff --git a/roles/dokuwiki/molecule/default/verify.yml b/roles/dokuwiki/molecule/default/verify.yml new file mode 100644 index 00000000..676a5e79 --- /dev/null +++ b/roles/dokuwiki/molecule/default/verify.yml @@ -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: "{{ dokuwiki_container_name }}" + register: result + + - name: Check Dokuwiki is running + assert: + that: + - result.container['State']['Status'] == "running" + - result.container['State']['Restarting'] == false diff --git a/roles/dokuwiki/molecule/default/verify_stopped.yml b/roles/dokuwiki/molecule/default/verify_stopped.yml new file mode 100644 index 00000000..60151b02 --- /dev/null +++ b/roles/dokuwiki/molecule/default/verify_stopped.yml @@ -0,0 +1,18 @@ +--- +- name: Verify + hosts: all + gather_facts: false + tasks: + - include_vars: + file: ../../defaults/main.yml + + - name: Try and stop and remove Dokuwiki + docker_container: + name: "{{ dokuwiki_container_name }}" + state: absent + register: result + + - name: Check Dokuwiki is stopped + assert: + that: + - not result.changed diff --git a/roles/duplicacy/molecule/default/molecule.yml b/roles/duplicacy/molecule/default/molecule.yml new file mode 100644 index 00000000..3daa1fe1 --- /dev/null +++ b/roles/duplicacy/molecule/default/molecule.yml @@ -0,0 +1,6 @@ +--- +provisioner: + inventory: + group_vars: + all: + duplicacy_enabled: true diff --git a/roles/duplicacy/molecule/default/side_effect.yml b/roles/duplicacy/molecule/default/side_effect.yml new file mode 100644 index 00000000..c29bfa36 --- /dev/null +++ b/roles/duplicacy/molecule/default/side_effect.yml @@ -0,0 +1,10 @@ +--- +- name: Stop + hosts: all + become: true + tasks: + - name: "Include {{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }} role" + include_role: + name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" + vars: + duplicacy_enabled: false diff --git a/roles/duplicacy/molecule/default/verify.yml b/roles/duplicacy/molecule/default/verify.yml new file mode 100644 index 00000000..7eaee192 --- /dev/null +++ b/roles/duplicacy/molecule/default/verify.yml @@ -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: "{{ duplicacy_container_name }}" + register: result + + - name: Check Duplicacy is running + assert: + that: + - result.container['State']['Status'] == "running" + - result.container['State']['Restarting'] == false diff --git a/roles/duplicacy/molecule/default/verify_stopped.yml b/roles/duplicacy/molecule/default/verify_stopped.yml new file mode 100644 index 00000000..487edf70 --- /dev/null +++ b/roles/duplicacy/molecule/default/verify_stopped.yml @@ -0,0 +1,18 @@ +--- +- name: Verify + hosts: all + gather_facts: false + tasks: + - include_vars: + file: ../../defaults/main.yml + + - name: Try and stop and remove Duplicacy + docker_container: + name: "{{ duplicacy_container_name }}" + state: absent + register: result + + - name: Check Duplicacy is stopped + assert: + that: + - not result.changed diff --git a/roles/emby/molecule/default/molecule.yml b/roles/emby/molecule/default/molecule.yml new file mode 100644 index 00000000..76844f58 --- /dev/null +++ b/roles/emby/molecule/default/molecule.yml @@ -0,0 +1,6 @@ +--- +provisioner: + inventory: + group_vars: + all: + emby_enabled: true diff --git a/roles/emby/molecule/default/side_effect.yml b/roles/emby/molecule/default/side_effect.yml new file mode 100644 index 00000000..a45266bd --- /dev/null +++ b/roles/emby/molecule/default/side_effect.yml @@ -0,0 +1,10 @@ +--- +- name: Stop + hosts: all + become: true + tasks: + - name: "Include {{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }} role" + include_role: + name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" + vars: + emby_enabled: false diff --git a/roles/emby/molecule/default/verify.yml b/roles/emby/molecule/default/verify.yml new file mode 100644 index 00000000..ce3037bf --- /dev/null +++ b/roles/emby/molecule/default/verify.yml @@ -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: "{{ emby_container_name }}" + register: result + + - name: Check Emby is running + assert: + that: + - result.container['State']['Status'] == "running" + - result.container['State']['Restarting'] == false diff --git a/roles/emby/molecule/default/verify_stopped.yml b/roles/emby/molecule/default/verify_stopped.yml new file mode 100644 index 00000000..ab61e9bc --- /dev/null +++ b/roles/emby/molecule/default/verify_stopped.yml @@ -0,0 +1,18 @@ +--- +- name: Verify + hosts: all + gather_facts: false + tasks: + - include_vars: + file: ../../defaults/main.yml + + - name: Try and stop and remove Emby + docker_container: + name: "{{ emby_container_name }}" + state: absent + register: result + + - name: Check Emby is stopped + assert: + that: + - not result.changed diff --git a/roles/esphome/molecule/default/molecule.yml b/roles/esphome/molecule/default/molecule.yml new file mode 100644 index 00000000..b9baaaf4 --- /dev/null +++ b/roles/esphome/molecule/default/molecule.yml @@ -0,0 +1,6 @@ +--- +provisioner: + inventory: + group_vars: + all: + esphome_enabled: true diff --git a/roles/esphome/molecule/default/side_effect.yml b/roles/esphome/molecule/default/side_effect.yml new file mode 100644 index 00000000..4dd8c64a --- /dev/null +++ b/roles/esphome/molecule/default/side_effect.yml @@ -0,0 +1,10 @@ +--- +- name: Stop + hosts: all + become: true + tasks: + - name: "Include {{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }} role" + include_role: + name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" + vars: + esphome_enabled: false diff --git a/roles/esphome/molecule/default/verify.yml b/roles/esphome/molecule/default/verify.yml new file mode 100644 index 00000000..a80b5867 --- /dev/null +++ b/roles/esphome/molecule/default/verify.yml @@ -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: "{{ esphome_container_name }}" + register: result + + - name: Check EspHome is running + assert: + that: + - result.container['State']['Status'] == "running" + - result.container['State']['Restarting'] == false diff --git a/roles/esphome/molecule/default/verify_stopped.yml b/roles/esphome/molecule/default/verify_stopped.yml new file mode 100644 index 00000000..dad14d09 --- /dev/null +++ b/roles/esphome/molecule/default/verify_stopped.yml @@ -0,0 +1,18 @@ +--- +- name: Verify + hosts: all + gather_facts: false + tasks: + - include_vars: + file: ../../defaults/main.yml + + - name: Try and stop and remove EspHome + docker_container: + name: "{{ esphome_container_name }}" + state: absent + register: result + + - name: Check EspHome is stopped + assert: + that: + - not result.changed diff --git a/roles/firefly/molecule/default/molecule.yml b/roles/firefly/molecule/default/molecule.yml new file mode 100644 index 00000000..ff6a6a31 --- /dev/null +++ b/roles/firefly/molecule/default/molecule.yml @@ -0,0 +1,6 @@ +--- +provisioner: + inventory: + group_vars: + all: + firefly_enabled: true diff --git a/roles/firefly/molecule/default/side_effect.yml b/roles/firefly/molecule/default/side_effect.yml new file mode 100644 index 00000000..4071c141 --- /dev/null +++ b/roles/firefly/molecule/default/side_effect.yml @@ -0,0 +1,10 @@ +--- +- name: Stop + hosts: all + become: true + tasks: + - name: "Include {{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }} role" + include_role: + name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}" + vars: + firefly_enabled: false diff --git a/roles/firefly/molecule/default/verify.yml b/roles/firefly/molecule/default/verify.yml new file mode 100644 index 00000000..7da64ee7 --- /dev/null +++ b/roles/firefly/molecule/default/verify.yml @@ -0,0 +1,25 @@ +--- +- name: Verify + hosts: all + gather_facts: false + tasks: + - include_vars: + file: ../../defaults/main.yml + + - name: Get container state + docker_container_info: + name: "{{ firefly_container_name }}" + register: result + + - name: Get container state + docker_container_info: + name: "{{ firefly_mysql_container_name }}" + register: result_mysql + + - name: Check Firefly is running + assert: + that: + - result.container['State']['Status'] == "running" + - result.container['State']['Restarting'] == false + - result_mysql.container['State']['Status'] == "running" + - result_mysql.container['State']['Restarting'] == false diff --git a/roles/firefly/molecule/default/verify_stopped.yml b/roles/firefly/molecule/default/verify_stopped.yml new file mode 100644 index 00000000..eecb6203 --- /dev/null +++ b/roles/firefly/molecule/default/verify_stopped.yml @@ -0,0 +1,25 @@ +--- +- name: Verify + hosts: all + gather_facts: false + tasks: + - include_vars: + file: ../../defaults/main.yml + + - name: Try and stop and remove Firefly + docker_container: + name: "{{ firefly_container_name }}" + state: absent + register: result + + - name: Try and stop and remove Firefly MySql + docker_container: + name: "{{ firefly_mysql_container_name }}" + state: absent + register: result_mysql + + - name: Check Firefly is stopped + assert: + that: + - not result.changed + - not result_mysql.changed