Change file parameters.

This commit is contained in:
2021-11-23 14:04:58 +01:00
parent fe0811863d
commit 081cdc9bb5

View File

@@ -44,7 +44,7 @@
- name: Check logrotate directories - name: Check logrotate directories
file: file:
path: "{{ item[0].path }}/{{ item[1] }}" path: "{{ item[0].path }}/{{ item[1] }}"
file_type: directory state: directory
with_nested: with_nested:
- "{{ backup_dirs.files }}" - "{{ backup_dirs.files }}"
- ['daily', 'weekly', 'monthly', 'yearly'] - ['daily', 'weekly', 'monthly', 'yearly']