mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-11-24 09:53:47 +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 }}"
|
name: "{{ sudo_pkg_name }}"
|
||||||
state: present
|
state: present
|
||||||
when:
|
when:
|
||||||
- ansible_user_id == 'root'
|
- ansible_facts["user_id"] == 'root'
|
||||||
|
|
||||||
- name: Gather the package facts
|
- name: Gather the package facts
|
||||||
ansible.builtin.package_facts:
|
ansible.builtin.package_facts:
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
- iproute
|
- iproute
|
||||||
state: present
|
state: present
|
||||||
when:
|
when:
|
||||||
- ansible_user_id == 'root'
|
- ansible_facts["user_id"] == 'root'
|
||||||
|
|
||||||
- name: "Retrieve assets server from env"
|
- name: "Retrieve assets server from env"
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
ansible.builtin.dnf:
|
ansible.builtin.dnf:
|
||||||
name: "{{ sudo_pkg_name }}"
|
name: "{{ sudo_pkg_name }}"
|
||||||
when:
|
when:
|
||||||
- ansible_user_id == 'root'
|
- ansible_facts["user_id"] == 'root'
|
||||||
|
|
||||||
- name: Gather the package facts
|
- name: Gather the package facts
|
||||||
ansible.builtin.package_facts:
|
ansible.builtin.package_facts:
|
||||||
|
|||||||
Reference in New Issue
Block a user