Default-Variablen für git eingebaut für modulare Benutztung
This commit is contained in:
@ -2,10 +2,12 @@ Role Name
|
||||
=========
|
||||
|
||||
1. Installiert git auf dem System.
|
||||
2. Kopiert .gitignore nach /opt/rola
|
||||
2. Kopiert .gitignore nach {{ path_init }}
|
||||
3. Initiiert ein Git-Repository
|
||||
|
||||
Aber: git add . + git commit fehlt noch!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
Aktuell wird beim prüfen, ob schon ein .git-Ordner vorhanden ist noch ein Fehler geworfen wenn der Ordner NICHT da ist, aber
|
||||
der Fehler wird dann übersprungen.
|
||||
Vielleicht gibt es noch eine bessere Lösung?
|
||||
|
||||
|
||||
Requirements
|
||||
@ -16,7 +18,12 @@ RHEL 7, x86-64
|
||||
Role Variables
|
||||
--------------
|
||||
|
||||
Keine.
|
||||
Folgende Variablen sind im Default-Ordner vorhanden:
|
||||
|
||||
|
||||
path_init="/opt/rola"
|
||||
user_name="jetty"
|
||||
user_group="dba"
|
||||
|
||||
|
||||
Dependencies
|
||||
@ -33,6 +40,9 @@ Including an example of how to use your role (for instance, with variables passe
|
||||
- hosts: all
|
||||
roles:
|
||||
- git
|
||||
path_init: "/opt/oracle"
|
||||
user_name: "wls2"
|
||||
user_group: "dba"
|
||||
|
||||
License
|
||||
-------
|
||||
@ -42,4 +52,4 @@ BSD
|
||||
Author Information
|
||||
------------------
|
||||
|
||||
Marcus Gillitzer Version 0.1
|
||||
Marcus Gillitzer Version 0.2
|
||||
|
Reference in New Issue
Block a user