Intitiales Befüllen
This commit is contained in:
45
roles/git/tasks/main.yml
Normal file
45
roles/git/tasks/main.yml
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
- name: Install git via yum in latest version
|
||||
become: yes
|
||||
become_user: root
|
||||
yum:
|
||||
name: git.x86_64
|
||||
state: latest
|
||||
disable_gpg_check: true
|
||||
|
||||
- name: Copy file .gitignore with owner and permissions
|
||||
copy:
|
||||
src: ./files/.gitignore
|
||||
dest: /opt/rola/.gitignore
|
||||
owner: jetty
|
||||
group: dba
|
||||
mode: '0644'
|
||||
|
||||
- name: Initialisiere leeres Repo innerhalb von /opt/rola
|
||||
command: git init /opt/rola/
|
||||
|
||||
# Mehr habe ich nicht gemacht,
|
||||
# git add .
|
||||
# git commit
|
||||
# habe ich händisch ausgeführt
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user