baremetal: remove warn: false

ansible-core 2.14 does not support warn: argument for command

Change-Id: I24d82b719066dd9ac058753d80d87145c598b0f1
This commit is contained in:
Michal Nasiadka 2023-05-12 11:35:50 +02:00 committed by Mark Goddard
parent b4f1d3c993
commit f848a01cf4

View File

@ -11,12 +11,11 @@
ignore_errors: yes
- name: Check if firewalld is installed
# noqa command-instead-of-module
command: rpm -q firewalld
register: firewalld_check
changed_when: false
failed_when: firewalld_check.rc > 1
args:
warn: false
when: ansible_facts.os_family == 'RedHat'
- name: Disable firewalld