mirror of
https://github.com/DO1JLR/ansible_role_websvn.git
synced 2024-08-16 10:29:49 +02:00
commit
fce73cc0d5
2 changed files with 15 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue