Fix the name on all "name" tasks, but not name variables to pass ansible linting
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
loop: '{{ ensure_selinux.package_list }}'
|
||||
loop_control:
|
||||
label: '{{ item.name }} will be {{ item.state }}'
|
||||
notify: [ensure_selinux.package_facts, ensure_selinux.service_facts]
|
||||
notify: [Ensure_Selinux.Package_Facts, Ensure_Selinux.Service_Facts]
|
||||
- name: Ensure Configurations
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
@@ -65,10 +65,10 @@
|
||||
loop_control:
|
||||
label: '{{ item.dest }} will be ensured'
|
||||
notify:
|
||||
- ensure_selinux.package_facts
|
||||
- ensure_selinux.service_facts
|
||||
- ensure_selinux.service_reload
|
||||
- ensure_selinux.service_restart
|
||||
- Ensure_Selinux.Package_Facts
|
||||
- Ensure_Selinux.Service_Facts
|
||||
- Ensure_Selinux.Service_Reload
|
||||
- Ensure_Selinux.Service_Restart
|
||||
- name: Ensure Services
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
@@ -82,7 +82,7 @@
|
||||
loop: '{{ ensure_selinux.service_list }}'
|
||||
loop_control:
|
||||
label: '{{ item.name }} will be {{ item.state }}'
|
||||
notify: [ensure_selinux.package_facts, ensure_selinux.service_facts]
|
||||
notify: [Ensure_Selinux.Package_Facts, Ensure_Selinux.Service_Facts]
|
||||
- name: Ensure Selinux Is Configured
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
|
||||
Reference in New Issue
Block a user