git init neu eingebaut
This commit is contained in:
parent
556a1f5cf5
commit
af45db42dd
@ -20,18 +20,20 @@
|
|||||||
register: result
|
register: result
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
|
- debug:
|
||||||
|
msg: "{{ result }}"
|
||||||
|
|
||||||
- name: Initialisiere leeres Repo innerhalb von /opt/rola
|
- name: Initialisiere leeres Repo innerhalb von /opt/rola
|
||||||
command: git init /opt/rola/
|
command: git init /opt/rola/
|
||||||
when: result.stdout == ''
|
when: result.stdout == ''
|
||||||
|
|
||||||
|
- name: commit changes to git
|
||||||
|
shell: |
|
||||||
# Mehr habe ich nicht gemacht,
|
git add .
|
||||||
# git add .
|
git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "Initialisiere_Basis_AMS"
|
||||||
# git commit
|
exit 0
|
||||||
# habe ich händisch ausgeführt
|
args:
|
||||||
|
chdir: "/opt/rola"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
6
site.yml
6
site.yml
@ -29,10 +29,10 @@
|
|||||||
|
|
||||||
roles:
|
roles:
|
||||||
#- base_installation
|
#- base_installation
|
||||||
- git
|
#- git
|
||||||
#- ams_0008_8.0.8.0
|
#- ams_0008_8.0.8.0
|
||||||
#- ams_sso
|
#- ams_sso
|
||||||
- ams_0008_8.0.8.0_AdminServer
|
#- ams_0008_8.0.8.0_AdminServer
|
||||||
- ams_0013_8.0.9.0
|
- ams_0013_8.0.9.0
|
||||||
|
|
||||||
|
|
||||||
@ -47,7 +47,6 @@
|
|||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base_installation
|
- base_installation
|
||||||
#- git
|
|
||||||
- git
|
- git
|
||||||
- ams_0008_8.0.8.0
|
- ams_0008_8.0.8.0
|
||||||
|
|
||||||
@ -64,7 +63,6 @@
|
|||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base_installation
|
- base_installation
|
||||||
#- git
|
|
||||||
- git
|
- git
|
||||||
- ams_0008_8.0.8.0
|
- ams_0008_8.0.8.0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user