Merge "Make the apache-logs-conf role less verbose"
This commit is contained in:
commit
e46d6ad2b7
@ -64,12 +64,14 @@
|
|||||||
path: "{{ apache_config_paths[ansible_os_family] }}"
|
path: "{{ apache_config_paths[ansible_os_family] }}"
|
||||||
file_type: any
|
file_type: any
|
||||||
register: apache_configs
|
register: apache_configs
|
||||||
|
no_log: true
|
||||||
|
|
||||||
- name: Dereference configurations
|
- name: Dereference configurations
|
||||||
stat:
|
stat:
|
||||||
path: "{{ item.path }}"
|
path: "{{ item.path }}"
|
||||||
with_items: "{{ apache_configs.files }}"
|
with_items: "{{ apache_configs.files }}"
|
||||||
register: apache_configs_deref
|
register: apache_configs_deref
|
||||||
|
no_log: true
|
||||||
|
|
||||||
- name: Link configurations
|
- name: Link configurations
|
||||||
file:
|
file:
|
||||||
@ -78,3 +80,4 @@
|
|||||||
state: hard
|
state: hard
|
||||||
with_items: "{{ apache_configs_deref.results }}"
|
with_items: "{{ apache_configs_deref.results }}"
|
||||||
when: item.stat.isreg or item.stat.islnk
|
when: item.stat.isreg or item.stat.islnk
|
||||||
|
no_log: true
|
||||||
|
Loading…
Reference in New Issue
Block a user