From 7a2f9f892cc137891d39ec6622f37d9bf8afeb66 Mon Sep 17 00:00:00 2001 From: Laur Ivan Date: Thu, 8 Dec 2022 18:34:40 +0100 Subject: [PATCH] chore: Cleanup duplicated volume. --- README.md | 2 +- tasks/main.yml | 16 +--------------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 1556583..9ff0a38 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/tasks/main.yml b/tasks/main.yml index 7f12f0b..c265f30 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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