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