git init neu eingebaut

This commit is contained in:
Marcus Gillitzer 2020-05-13 15:48:03 +02:00
parent 556a1f5cf5
commit af45db42dd
2 changed files with 11 additions and 11 deletions

View File

@ -20,18 +20,20 @@
register: result
ignore_errors: true
- debug:
msg: "{{ result }}"
- name: Initialisiere leeres Repo innerhalb von /opt/rola
command: git init /opt/rola/
when: result.stdout == ''
# Mehr habe ich nicht gemacht,
# git add .
# git commit
# habe ich händisch ausgeführt
- name: commit changes to git
shell: |
git add .
git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "Initialisiere_Basis_AMS"
exit 0
args:
chdir: "/opt/rola"

View File

@ -29,10 +29,10 @@
roles:
#- base_installation
- git
#- git
#- ams_0008_8.0.8.0
#- ams_sso
- ams_0008_8.0.8.0_AdminServer
#- ams_0008_8.0.8.0_AdminServer
- ams_0013_8.0.9.0
@ -47,7 +47,6 @@
roles:
- base_installation
#- git
- git
- ams_0008_8.0.8.0
@ -64,7 +63,6 @@
roles:
- base_installation
#- git
- git
- ams_0008_8.0.8.0