Skip to content
Snippets Groups Projects
Commit 14bf98dd authored by Pierre Riteau's avatar Pierre Riteau
Browse files

Make "Check if firewalld is installed" task quieter

Stop showing the task has having made changes and silence warning about
not using the yum module (which we could use for the check, but not as
easily).

Change-Id: I9e3608b5db521930409a29981767f468ea234679
parent 1c866201
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,10 @@ ...@@ -17,7 +17,10 @@
- name: Check if firewalld is installed - name: Check if firewalld is installed
command: rpm -q firewalld command: rpm -q firewalld
register: firewalld_check register: firewalld_check
changed_when: false
failed_when: firewalld_check.rc > 1 failed_when: firewalld_check.rc > 1
args:
warn: false
when: ansible_os_family == 'RedHat' when: ansible_os_family == 'RedHat'
- name: Disable firewalld - name: Disable firewalld
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment