Syntax-Fehler im Bereich roles/git behoben

This commit is contained in:
Marcus Gillitzer 2020-05-19 11:11:29 +02:00
parent 92472f913e
commit f7299785d9
3 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
---
# defaults file for default_role
path_init="/opt/rola"
user_name="jetty"
user_group="dba"
path_init: "/opt/rola"
user_name: "jetty"
user_group: "dba"

View File

@ -9,10 +9,10 @@
- name: Copy file .gitignore with owner and permissions
copy:
src: ./files/.gitignore
dest: {{ path_init }}/.gitignore
owner: {{ user_name }}
group: {{ user_group }}
src: ./files/gitignore
dest: "{{ path_init }}/.gitignore"
owner: "{{ user_name }}"
group: "{{ user_group }}"
mode: '0644'
- name: check if {{ path_init }}/.git exists