17 lines
410 B
YAML
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
|