mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-11-21 14:48:50 +00:00
Merge pull request #446 from cihlamar/AMW-578
Fix INJECT_FACTS_AS_VARS deprecation in molecule prepare files
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user