Use fully-qualified module names for builtin Ansible modules

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
This commit is contained in:
Slavi Pantaleev
2022-07-18 10:39:08 +03:00
parent 78b5be4a26
commit 34cdaade08
297 changed files with 1420 additions and 1420 deletions

View File

@ -6,7 +6,7 @@
register: matrix_ma1sd_service_stat
- name: Ensure matrix-ma1sd is stopped
service:
ansible.builtin.service:
name: matrix-ma1sd
state: stopped
enabled: false
@ -15,18 +15,18 @@
when: "matrix_ma1sd_service_stat.stat.exists|bool"
- name: Ensure matrix-ma1sd.service doesn't exist
file:
ansible.builtin.file:
path: "{{ matrix_systemd_path }}/matrix-ma1sd.service"
state: absent
when: "matrix_ma1sd_service_stat.stat.exists|bool"
- name: Ensure systemd reloaded after matrix-ma1sd.service removal
service:
ansible.builtin.service:
daemon_reload: true
when: "matrix_ma1sd_service_stat.stat.exists|bool"
- name: Ensure Matrix ma1sd paths don't exist
file:
ansible.builtin.file:
path: "{{ matrix_ma1sd_base_path }}"
state: absent