git init neu eingebaut
This commit is contained in:
parent
556a1f5cf5
commit
af45db42dd
@ -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"
|
||||
|
||||
|
||||
|
||||
|
6
site.yml
6
site.yml
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user