1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_role_websvn.git synced 2024-08-16 10:29:49 +02:00

Merge pull request #1 from DO1JLR/f

repair role to work again
This commit is contained in:
L3D 2023-05-30 13:54:17 +02:00 committed by GitHub
commit fce73cc0d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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'