14 lines
351 B
YAML
14 lines
351 B
YAML
|
---
|
||
|
# On localhost
|
||
|
|
||
|
- hosts: localhost
|
||
|
tasks:
|
||
|
- shell: "git submodule init"
|
||
|
- shell: "git submodule update --remote --merge"
|
||
|
- with_fileglob: Hooks/*.j2.*
|
||
|
ansible.builtin.copy:
|
||
|
src: "{{item}}"
|
||
|
dest: ".git/hooks/{{ item | split('/') | last | split('.') | first }}"
|
||
|
|
||
|
# Init submodules
|
||
|
# Install Githooks
|