chore: Cleanup duplicated volume.

This commit is contained in:
Laur Ivan 2022-12-08 18:34:40 +01:00
parent 8b84af081f
commit 7a2f9f892c
2 changed files with 2 additions and 16 deletions

View File

@ -97,6 +97,6 @@ You need a machine with docker and docker-compose installed.
MIT
## Author Information
## Author Information
This role was created in 2022 by [Laur Ivan](https://www.laurivan.com).

View File

@ -21,22 +21,8 @@
group: "{% if outline_gid %}{{ outline_gid }}{% else %}{{ ansible_effective_group_id }}{% endif %}"
mode: "0750"
with_items:
- "{{ outline_config_volume }}"
tags:
- configuration
become: true
- name: Set up upload directories
ansible.builtin.file:
state: directory
path: "{{ item }}"
owner: "{% if outline_uid %}{{ outline_uid }}{% else %}{{ ansible_effective_user_id }}{% endif %}"
group: "{% if outline_gid %}{{ outline_gid }}{% else %}{{ ansible_effective_group_id }}{% endif %}"
mode: "0750"
with_items:
- "{{ outline_config_volume }}"
- "{{ outline_setup_path }}"
tags:
- configuration
become: true