development
group_vars
production
qs
roles
ams_0006_8.0.5.0
ams_0008_8.0.8.0
ams_0008_8.0.8.0_AdminServer
ams_0013_8.0.9.0
ams_sso
base_installation
default_role
git
defaults
files
handlers
meta
tasks
tests
vars
.travis.yml
README.md
teaching
ansible.cfg
site.retry
site.yml
webservers.yml
56 lines
965 B
Markdown
56 lines
965 B
Markdown
Role Name
|
|
=========
|
|
|
|
1. Installiert git auf dem System.
|
|
2. Kopiert .gitignore nach {{ path_init }}
|
|
3. Initiiert ein Git-Repository
|
|
|
|
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
|
|
------------
|
|
|
|
RHEL 7, x86-64
|
|
|
|
Role Variables
|
|
--------------
|
|
|
|
Folgende Variablen sind im Default-Ordner vorhanden:
|
|
|
|
|
|
path_init="/opt/rola"
|
|
user_name="jetty"
|
|
user_group="dba"
|
|
|
|
|
|
Dependencies
|
|
------------
|
|
|
|
Keine.
|
|
|
|
|
|
Example Playbook
|
|
----------------
|
|
|
|
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
|
|
|
|
- hosts: all
|
|
roles:
|
|
- git
|
|
path_init: "/opt/oracle"
|
|
user_name: "wls2"
|
|
user_group: "dba"
|
|
|
|
License
|
|
-------
|
|
|
|
BSD
|
|
|
|
Author Information
|
|
------------------
|
|
|
|
Marcus Gillitzer Version 0.2
|