remove theme folder if already exists

This commit is contained in:
dcore94 2021-01-12 10:16:11 +01:00
parent d5f9749ecf
commit be0c759d42
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,11 @@
repo: "https://38704e918f14e00b083c60de7097d8612b3e1111:x-oauth-basic@code-repo.d4science.org/gCubeSystem/d4science-keycloak-themes.git" repo: "https://38704e918f14e00b083c60de7097d8612b3e1111:x-oauth-basic@code-repo.d4science.org/gCubeSystem/d4science-keycloak-themes.git"
dest: "{{ tmpdir }}" dest: "{{ tmpdir }}"
- name: Delete possibly existing folder for theme
file:
state: absent
dest: "{{ tmpdir }}/src/themes/{{ theme }}"
- name: Create folder for theme - name: Create folder for theme
file: file:
state: directory state: directory