updated tasks so they are only run once
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: Append to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + ['ripgrep'] }}"
|
||||
- name: Add ripgrep
|
||||
when:
|
||||
- ripgrep_configured is undefined
|
||||
block:
|
||||
- name: Append to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + ['ripgrep'] }}"
|
||||
|
||||
- name: Set ripgrep_configured
|
||||
ansible.builtin.set_fact:
|
||||
ripgrep_configured: true
|
||||
|
||||
Reference in New Issue
Block a user