1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_role_websvn.git synced 2024-07-06 18:28:52 +02:00

repair role to work again

This commit is contained in:
L3D 2023-05-30 13:52:54 +02:00
parent 4f7714d79f
commit 987d2613f5
2 changed files with 15 additions and 1 deletions

View file

@ -8,12 +8,26 @@
owner: "{{ websvn__web_user }}"
group: "{{ websvn__web_group }}"
- name: git config --global --add safe.directory /var/www/websvn
become: true
ansible.builtin.git_config:
scope: global
name: safe.directory
value: '/var/www/websvn'
- name: Set default git editor
ansible.builtin.git_config:
name: core.editor
scope: global
value: vim
- name: clone websvn
become: true
# become_user: "{{ websvn__web_user }}"
ansible.builtin.git:
repo: https://github.com/websvnphp/websvn.git
dest: /var/www/websvn
recursive: true
version: "{{ websvn__version }}"
- name: chown "{{ websvn__web_user }}" /var/www/websvn

View file

@ -13,6 +13,6 @@ websvn__packages:
# versionscheck
playbook_version_number: 17 # should be over ninethousand
playbook_version_number: 18 # should be over ninethousand
playbook_version_path: 'role-websvn_roles-ansible_github.com.version'