mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-05 10:20:27 -07:00
Drop deprecated builtin.command arg
This commit is contained in:
parent
3d0cfc9e42
commit
b3b016bf3b
2 changed files with 2 additions and 6 deletions
|
@ -3,8 +3,6 @@
|
|||
block:
|
||||
- name: "Check if packages are already installed"
|
||||
ansible.builtin.command: "rpm -q {{ packages_list | join(' ') }}"
|
||||
args:
|
||||
warn: no
|
||||
register: rpm_info
|
||||
changed_when: rpm_info.failed
|
||||
|
||||
|
@ -19,4 +17,4 @@
|
|||
ansible.builtin.yum:
|
||||
name: "{{ packages_to_install }}"
|
||||
state: present
|
||||
when: packages_to_install | default([]) | length > 0
|
||||
when: packages_to_install | default([]) | length > 0
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
block:
|
||||
- name: "Check if packages are already installed"
|
||||
ansible.builtin.command: "rpm -q {{ packages_list | join(' ') }}"
|
||||
args:
|
||||
warn: no
|
||||
register: rpm_info
|
||||
changed_when: rpm_info.failed
|
||||
|
||||
|
@ -19,4 +17,4 @@
|
|||
ansible.builtin.yum:
|
||||
name: "{{ packages_to_install }}"
|
||||
state: present
|
||||
when: packages_to_install | default([]) | length > 0
|
||||
when: packages_to_install | default([]) | length > 0
|
||||
|
|
Loading…
Add table
Reference in a new issue