You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.5 KiB

# - name: Git personal setup email
# git_config:
# name: user.email
# scope: global
# value: "nils.gerstner@replyto.se"
# tags:
# - install
# - productivity
# - git-personal
# - name: Git personal setup name
# git_config:
# name: user.name
# scope: global
# value: "ThePrimeagen"
# tags:
# - install
# - productivity
# - git-personal
# - name: Git Rustin
# git_config:
# name: user.email
# scope: global
# value: "rustin.deeznuts@gmail.com"
# tags:
# - install
# - productivity
# - git-rustin
# - name: Git personal setup name
# git_config:
# name: user.name
# scope: global
# value: "RustLover69"
# tags:
# - install
# - productivity
# - git-rustin
# - name: Netflix
# git_config:
# name: user.email
# scope: global
# value: "mpaulson@netflix.com"
# tags:
# - git-netflix
# - name: Git personal setup name
# git_config:
# name: user.name
# scope: global
# value: "mpaulson"
# tags:
# - git-netflix
- ansible.builtin.git:
dest: "{{ lookup('env', 'HOME') }}/lazygit"
force: true
repo: 'https://github.com/jesseduffield/lazygit.git'
update: true
# version: 'stable'
name: Clone lazygit
register: lazygitclone
tags:
- install
- git
- golang
- name: Install lazygit
shell: "cd {{ lookup('env', 'HOME') }}/lazygit && go build && mv ./lazygit /usr/local/bin/"
tags:
- install
- git
- golang
when: lazygitclone.changed