refactor(services): remove unnecessary firewalld services disablement.
It is not needed if the firewalld package is not installed in the first place
This commit is contained in:
@@ -14,10 +14,3 @@
|
||||
}}
|
||||
register: configuration_enable_services_result
|
||||
changed_when: configuration_enable_services_result.rc == 0
|
||||
|
||||
- name: Disable firewalld when disabled
|
||||
when: not firewalld_enabled | bool
|
||||
ansible.builtin.command: "{{ chroot_command }} /mnt systemctl disable --now firewalld"
|
||||
register: configuration_disable_firewalld_result
|
||||
changed_when: configuration_disable_firewalld_result.rc == 0
|
||||
failed_when: false
|
||||
|
||||
Reference in New Issue
Block a user