get rid of deprecated code.

This commit is contained in:
2026-02-01 12:30:58 +01:00
parent 1feef826b7
commit 4e06ed01aa
15 changed files with 162 additions and 98 deletions

View File

@@ -8,7 +8,7 @@
with_items:
- "{{ redhat_services_active_and_started }}"
when:
- ansible_os_family == "RedHat"
- ansible_facts.os_family == "RedHat"
#- debug: msg="{{ service_exists.results }}"
@@ -23,7 +23,7 @@
label: '{{ item.item }}'
when:
- item.rc == 0
- ansible_os_family == "RedHat"
- ansible_facts.os_family == "RedHat"
#- debug: msg="{{ service_is_enabled.results }}"