added task for creating theme folder
This commit is contained in:
parent
cd42a447f1
commit
c99f5d33d4
|
@ -1,7 +1,10 @@
|
||||||
---
|
---
|
||||||
git_theme_repository: "https://code-repo.d4science.org/gCubeSystem/d4science-keycloak-themes"
|
git_theme_repository: "https://code-repo.d4science.org/gCubeSystem/d4science-keycloak-themes"
|
||||||
|
|
||||||
parent_theme: d4science
|
tmpdir: "/tmp/d4science-keycloak-themes"
|
||||||
|
|
||||||
|
theme: "example_theme"
|
||||||
|
parent_theme: "d4science"
|
||||||
|
|
||||||
styles:
|
styles:
|
||||||
title_tag: "Gateway - Sign in"
|
title_tag: "Gateway - Sign in"
|
||||||
|
|
|
@ -1,10 +1,19 @@
|
||||||
---
|
---
|
||||||
- name: Delete temporary folder
|
- name: Delete temporary folder
|
||||||
|
delegate_to: localhost
|
||||||
file:
|
file:
|
||||||
state: absent
|
state: absent
|
||||||
path: "/tmp/d4science-keycloak-themes/"
|
path: "{{ tmpdir }}"
|
||||||
|
|
||||||
- name: Git checkout
|
- name: Git checkout themes
|
||||||
|
delegate_to: localhost
|
||||||
git:
|
git:
|
||||||
repo: "https://code-repo.d4science.org/gCubeSystem/d4science-keycloak-themes"
|
repo: "https://code-repo.d4science.org/gCubeSystem/d4science-keycloak-themes"
|
||||||
dest: "/tmp/d4science-keycloak-themes"
|
dest: "{{ tmpdir }}"
|
||||||
|
|
||||||
|
- name: Create folder for theme
|
||||||
|
delegate_to: localhost
|
||||||
|
file:
|
||||||
|
state: directory
|
||||||
|
dest: "{{ tmpdir }}/{{ theme }}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue