Files
ansible_role_package/tasks/pkgs/cheat.yml
Matthew Stobbs aff4fddfb4 fix broken packages
- standardize naming of each pkg append
- move _configured vars to end of block
2025-03-09 21:48:11 -06:00

17 lines
410 B
YAML

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