sudo*: Use FQCN for ansible.builtin

Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
ansible.builtin.set_fact instead of set_fact for example and aplies for
all actions that are part of ansible.builtin.

All the replaced ansible.builtins:
  assert, command, copy, debug, fail, fetch, file, import_playbook,
  import_tasks, include_role, include_tasks, include_vars, package,
  set_fact, shell, slurp, stat, systemd
This commit is contained in:
Thomas Woerner
2022-12-20 13:54:26 +01:00
parent feadbfce95
commit 9d47ffc2b9
7 changed files with 15 additions and 15 deletions

View File

@@ -16,7 +16,7 @@
- block:
# SETUP
- name: Ensure domain name
set_fact:
ansible.builtin.set_fact:
ipa_domain: ipa.test
when: ipa_domain is not defined
@@ -56,7 +56,7 @@
# TESTS
- name: Start tests.
debug:
ansible.builtin.debug:
msg: "Tests are starting."
- name: Ensure sudorule exist with runasusers members
@@ -249,7 +249,7 @@
failed_when: result.failed or result.changed
- name: End tests.
debug:
ansible.builtin.debug:
msg: "All tests executed."
always: