AMW-578 Fix INJECT_FACTS_AS_VARS deprecation in molecule prepare files

This commit is contained in:
Martin Cihlar
2026-10-19 17:45:10 +02:00
parent 0b6b926b96
commit 0891945924
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -12,7 +12,7 @@
name: "{{ sudo_pkg_name }}"
state: present
when:
- ansible_user_id == 'root'
- ansible_facts["user_id"] == 'root'
- name: Gather the package facts
ansible.builtin.package_facts:
@@ -30,7 +30,7 @@
- iproute
state: present
when:
- ansible_user_id == 'root'
- ansible_facts["user_id"] == 'root'
- name: "Retrieve assets server from env"
ansible.builtin.set_fact:
+1 -1
View File
@@ -31,7 +31,7 @@
ansible.builtin.dnf:
name: "{{ sudo_pkg_name }}"
when:
- ansible_user_id == 'root'
- ansible_facts["user_id"] == 'root'
- name: Gather the package facts
ansible.builtin.package_facts: