Files
ansible_role_package/tasks/pkgs/lazygit.yml
2025-03-31 18:15:07 -06:00

17 lines
420 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Add lazygit
when:
- lazygit_configured is undefined
block:
- name: Append lazygit to pkg_go
notify:
- Depend go
changed_when: true
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['github.com/jesseduffield/lazygit@latest'] }}"
- name: Set lazygit_configured
ansible.builtin.set_fact:
lazygit_configured: true