14 lines
349 B
YAML
14 lines
349 B
YAML
# vim: set filetype=yaml.ansible :
|
|
---
|
|
- name: Add revive
|
|
when:
|
|
- revive_configured is undefined
|
|
block:
|
|
- name: Append revive to pkg_go
|
|
ansible.builtin.set_fact:
|
|
pkg_go: "{{ pkg_go + ['github.com/mgechev/revive@latest'] }}"
|
|
|
|
- name: Set revive_configured
|
|
ansible.builtin.set_fact:
|
|
revive_configured: true
|