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

@ -1,7 +1,7 @@
---
- name: Ensure git installed (RedHat)
yum:
ansible.builtin.yum:
name:
- git
state: present
@ -9,7 +9,7 @@
when: "ansible_os_family == 'RedHat'"
- name: Ensure git installed (Debian)
apt:
ansible.builtin.apt:
name:
- git
state: present
@ -25,14 +25,14 @@
when: "ansible_distribution == 'Archlinux'"
- name: Clone mjolnir-antispam git repository
git:
ansible.builtin.git:
repo: "{{ matrix_synapse_ext_spam_checker_mjolnir_antispam_git_repository_url }}"
version: "{{ matrix_synapse_ext_spam_checker_mjolnir_antispam_git_version }}"
dest: "{{ matrix_synapse_ext_path }}/mjolnir"
become: true
become_user: "{{ matrix_user_username }}"
- set_fact:
- ansible.builtin.set_fact:
matrix_synapse_spam_checker: >
{{
matrix_synapse_spam_checker

View File

@ -1,6 +1,6 @@
---
- name: Ensure mjolnir-antispam doesn't exist
file:
ansible.builtin.file:
path: "{{ matrix_synapse_ext_path }}/mjolnir"
state: absent