Ensure the quarantine directory exists
This commit is contained in:
		| @@ -74,6 +74,14 @@ | ||||
|   loop: '{{ ensure_clamav.seboolean_list }}' | ||||
|   loop_control: | ||||
|     label: '{{ item.name }} will be {{ item.state }}' | ||||
| - name: 'ensure quarantine directory' | ||||
|   when: | ||||
|     - ansible_system == 'Linux' | ||||
|     - ensure_clamav is defined | ||||
|     - quarantine_directory is defined | ||||
|   ansible.builtin.file: | ||||
|     path: '{{ quarantine_directory }}' | ||||
|     state: 'directory' | ||||
| - name: 'ensure configurations' | ||||
|   when: | ||||
|     - ansible_system == 'Linux' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user