mirror of
https://github.com/roles-ansible/ansible_role_etebase.git
synced 2024-08-16 10:19:52 +02:00
24 lines
659 B
YAML
24 lines
659 B
YAML
---
|
|
- name: Download etebase git Repository
|
|
become: true
|
|
ansible.builtin.git:
|
|
repo: "{{ etebase__repo }}"
|
|
dest: "{{ etebase__user_home }}/etebase_{{ etebase_version_target }}"
|
|
single_branch: true
|
|
depth: 4
|
|
force: false
|
|
track_submodules: true
|
|
umask: "0027"
|
|
update: false
|
|
version: "{{ etebase_version_target }}"
|
|
register: _etebase_download
|
|
|
|
- name: Fix venv File owner/group
|
|
become: true
|
|
ansible.builtin.file:
|
|
path: "{{ etebase__user_home }}/etebase_{{ etebase_version_target }}"
|
|
state: directory
|
|
mode: 'u=rwX,g=rX,o='
|
|
recurse: true
|
|
group: "{{ etebase__group }}"
|
|
owner: "{{ etebase__user }}"
|