yaml and ansible linting clean ups
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
---
|
||||
# handlers file for ensure_cockpit
|
||||
- name: ensure_cockpit.package_facts
|
||||
- name: Ensure_cockpit.package_facts
|
||||
ansible.builtin.package_facts:
|
||||
- name: ensure_cockpit.service_facts
|
||||
- name: Ensure_cockpit.service_facts
|
||||
ansible.builtin.service_facts:
|
||||
- name: ensure_cockpit.service_reload
|
||||
- name: Ensure_cockpit.service_reload
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
- ansible_facts["service_mgr"] == 'systemd'
|
||||
- ensure_cockpit is defined
|
||||
ansible.builtin.systemd:
|
||||
daemon_reload: 'yes'
|
||||
- name: ensure_cockpit.service_restart
|
||||
- name: Ensure_cockpit.service_restart
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
- ensure_cockpit is defined
|
||||
|
||||
Reference in New Issue
Block a user