netgroup: 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:51:21 +01:00
parent adc262bcb0
commit defd1e4e92
5 changed files with 13 additions and 13 deletions

View File

@@ -16,7 +16,7 @@
- block:
# SETUP
- name: Get Domain from server name
set_fact:
ansible.builtin.set_fact:
ipaserver_domain: "{{ ansible_facts['fqdn'].split('.')[1:] | join ('.') }}"
when: ipaserver_domain is not defined
@@ -62,7 +62,7 @@
# TESTS
- name: Start tests.
debug:
ansible.builtin.debug:
msg: "Tests are starting."
- name: Ensure netgroups exist
@@ -203,7 +203,7 @@
failed_when: result.failed or result.changed
- name: End tests.
debug:
ansible.builtin.debug:
msg: "All tests executed."
always: