ansible-lint cleanups
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
- name: 'include variables'
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
include_vars:
|
||||
file: '{{ lookup("first_found", findme ) }}'
|
||||
ansible.builtin.include_vars:
|
||||
file: '{{ lookup("first_found", findme) }}'
|
||||
name: 'ensure_apache'
|
||||
vars:
|
||||
findme:
|
||||
@@ -172,6 +172,9 @@
|
||||
ansible.builtin.file:
|
||||
path: '/srv/http/{{ item.fqdn }}'
|
||||
state: 'directory'
|
||||
owner: 'apache'
|
||||
group: 'apache'
|
||||
mode: '0755'
|
||||
setype: 'httpd_sys_content_t'
|
||||
loop: '{{ http_vhost }}'
|
||||
loop_control:
|
||||
@@ -220,6 +223,5 @@
|
||||
- 'ensure_apache.service_reload'
|
||||
- 'ensure_apache.service_restart'
|
||||
- name: 'flush handlers'
|
||||
meta: 'flush_handlers'
|
||||
ansible.builtin.meta: 'flush_handlers'
|
||||
...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user