re-enabled git add files

master
dcore94 3 years ago
parent aac228e668
commit d5f9749ecf

@ -1,24 +1,20 @@
--- ---
- name: Delete temporary folder - name: Delete temporary folder
delegate_to: localhost
file: file:
state: absent state: absent
path: "{{ tmpdir }}" path: "{{ tmpdir }}"
- name: Git checkout themes - name: Git checkout themes
delegate_to: localhost
git: git:
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: Create folder for theme - name: Create folder for theme
delegate_to: localhost
file: file:
state: directory state: directory
dest: "{{ tmpdir }}/src/themes/{{ theme }}" dest: "{{ tmpdir }}/src/themes/{{ theme }}"
- name: Create folders - name: Create folders
delegate_to: localhost
file: file:
state: directory state: directory
dest: "{{ tmpdir }}/src/themes/{{ theme }}/{{ item }}" dest: "{{ tmpdir }}/src/themes/{{ theme }}/{{ item }}"
@ -29,7 +25,6 @@
- login - login
- name: Create properties for account - name: Create properties for account
delegate_to: localhost
template: template:
src: "{{ item }}/theme.properties.j2" src: "{{ item }}/theme.properties.j2"
dest: "{{ tmpdir }}/src/themes/{{ theme }}/{{ item }}/theme.properties" dest: "{{ tmpdir }}/src/themes/{{ theme }}/{{ item }}/theme.properties"
@ -39,11 +34,10 @@
- email - email
- login - login
#- name: Git Add files - name: Git Add files
# delegate_to: localhost args:
# args: chdir: "{{ tmpdir }}/src/themes/{{ theme }}/"
# chdir: "{{ tmpdir }}/src/themes/{{ theme }}/" shell: |
# shell: | git add --all
# git add --all git commit -am "added theme {{ theme }}"
# git commit -am "added theme {{ theme }}" git push https://38704e918f14e00b083c60de7097d8612b3e1111:x-oauth-basic@code-repo.d4science.org/gCubeSystem/d4science-keycloak-themes.git master
# git push https://38704e918f14e00b083c60de7097d8612b3e1111:x-oauth-basic@code-repo.d4science.org/gCubeSystem/d4science-keycloak-themes.git master

Loading…
Cancel
Save