Fix the name on all "name" tasks, but not name variables to pass ansible linting
This commit is contained in:
@@ -48,10 +48,10 @@
|
||||
loop_control:
|
||||
label: '{{ item.name }} will be {{ item.value }}'
|
||||
notify:
|
||||
- ensure_apache.package_facts
|
||||
- ensure_apache.service_facts
|
||||
- ensure_apache.service_reload
|
||||
- ensure_apache.service_restart
|
||||
- Ensure_Apache.Package_Facts
|
||||
- Ensure_Apache.Service_Facts
|
||||
- Ensure_Apache.Service_Reload
|
||||
- Ensure_Apache.Service_Reload_Config
|
||||
- name: Ensure Packages
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
@@ -65,10 +65,10 @@
|
||||
loop_control:
|
||||
label: '{{ item.name }} will be {{ item.state }}'
|
||||
notify:
|
||||
- ensure_apache.package_facts
|
||||
- ensure_apache.service_facts
|
||||
- ensure_apache.service_reload
|
||||
- ensure_apache.service_restart
|
||||
- Ensure_Apache.Package_Facts
|
||||
- Ensure_Apache.Service_Facts
|
||||
- Ensure_Apache.Service_Reload
|
||||
- Ensure_Apache.Service_Reload_Config
|
||||
- name: Ensure Seboolean
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
@@ -83,10 +83,10 @@
|
||||
loop_control:
|
||||
label: '{{ item.name }} will be {{ item.state }}'
|
||||
notify:
|
||||
- ensure_apache.package_facts
|
||||
- ensure_apache.service_facts
|
||||
- ensure_apache.service_reload
|
||||
- ensure_apache.service_restart
|
||||
- Ensure_Apache.Package_Facts
|
||||
- Ensure_Apache.Service_Facts
|
||||
- Ensure_Apache.Service_Reload
|
||||
- Ensure_Apache.Service_Reload_Config
|
||||
- name: Ensure Configurations
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
@@ -109,10 +109,10 @@
|
||||
loop_control:
|
||||
label: '{{ item.dest }} will be ensured'
|
||||
notify:
|
||||
- ensure_apache.package_facts
|
||||
- ensure_apache.service_facts
|
||||
- ensure_apache.service_reload
|
||||
- ensure_apache.service_restart
|
||||
- Ensure_Apache.Package_Facts
|
||||
- Ensure_Apache.Service_Facts
|
||||
- Ensure_Apache.Service_Reload
|
||||
- Ensure_Apache.Service_Reload_Config
|
||||
- name: Ensure Firewall
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
@@ -129,10 +129,10 @@
|
||||
loop_control:
|
||||
label: '{{ item.service }} will be {{ item.state }}'
|
||||
notify:
|
||||
- ensure_apache.package_facts
|
||||
- ensure_apache.service_facts
|
||||
- ensure_apache.service_reload
|
||||
- ensure_apache.service_restart
|
||||
- Ensure_Apache.Package_Facts
|
||||
- Ensure_Apache.Service_Facts
|
||||
- Ensure_Apache.Service_Reload
|
||||
- Ensure_Apache.Service_Reload_Config
|
||||
- name: Ensure Permissions
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
@@ -160,10 +160,10 @@
|
||||
loop_control:
|
||||
label: '{{ item.path }} will be ensured'
|
||||
notify:
|
||||
- ensure_apache.package_facts
|
||||
- ensure_apache.service_facts
|
||||
- ensure_apache.service_reload
|
||||
- ensure_apache.service_restart
|
||||
- Ensure_Apache.Package_Facts
|
||||
- Ensure_Apache.Service_Facts
|
||||
- Ensure_Apache.Service_Reload
|
||||
- Ensure_Apache.Service_Reload_Config
|
||||
- name: Ensure Vhost Document Roots
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
@@ -182,10 +182,10 @@
|
||||
loop_control:
|
||||
label: /srv/http/{{ item.fqdn }} will be ensured
|
||||
notify:
|
||||
- ensure_apache.package_facts
|
||||
- ensure_apache.service_facts
|
||||
- ensure_apache.service_reload
|
||||
- ensure_apache.service_restart
|
||||
- Ensure_Apache.Package_Facts
|
||||
- Ensure_Apache.Service_Facts
|
||||
- Ensure_Apache.Service_Reload
|
||||
- Ensure_Apache.Service_Reload_Config
|
||||
- name: Ensure Website Content From Git Repos
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
@@ -202,10 +202,10 @@
|
||||
loop_control:
|
||||
label: /srv/http/{{ item.fqdn }} will be populated...
|
||||
notify:
|
||||
- ensure_apache.package_facts
|
||||
- ensure_apache.service_facts
|
||||
- ensure_apache.service_reload
|
||||
- ensure_apache.service_restart
|
||||
- Ensure_Apache.Package_Facts
|
||||
- Ensure_Apache.Service_Facts
|
||||
- Ensure_Apache.Service_Reload
|
||||
- Ensure_Apache.Service_Reload_Config
|
||||
- name: Ensure Services
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
@@ -220,9 +220,9 @@
|
||||
loop_control:
|
||||
label: '{{ item.name }} will be {{ item.state }}'
|
||||
notify:
|
||||
- ensure_apache.package_facts
|
||||
- ensure_apache.service_facts
|
||||
- ensure_apache.service_reload
|
||||
- ensure_apache.service_restart
|
||||
- Ensure_Apache.Package_Facts
|
||||
- Ensure_Apache.Service_Facts
|
||||
- Ensure_Apache.Service_Reload
|
||||
- Ensure_Apache.Service_Reload_Config
|
||||
- name: Flush Handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
|
||||
Reference in New Issue
Block a user