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 + ['hyperfine'] }}"
|
||||
- name: Add hyperfine
|
||||
when:
|
||||
- hyperfine_configured is undefined
|
||||
block:
|
||||
- name: Append to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + ['hyperfine'] }}"
|
||||
|
||||
- name: Set hyperfine_configured
|
||||
ansible.builtin.set_fact:
|
||||
hyperfine_configured: true
|
||||
|
||||
Reference in New Issue
Block a user