22 lines
481 B
YAML
22 lines
481 B
YAML
---
|
|
- name: Clone git-summary
|
|
git:
|
|
repo: https://gitlab.com/lordadamson/git-summary.git
|
|
dest: ~/.git_clones/git-summary
|
|
clone: true
|
|
update: false
|
|
|
|
- name: Create needed directories
|
|
ansible.builtin.file:
|
|
path: "{{ item }}"
|
|
state: directory
|
|
mode: 0755
|
|
with_items:
|
|
- ~/.local
|
|
- ~/.local/bin
|
|
|
|
- name: Symlink git-summary
|
|
ansible.builtin.file:
|
|
src: ~/.git_clones/git-summary/git-summary
|
|
path: ~/.local/bin/git-summary
|
|
state: link
|