fix: check if stdout is definied
This commit is contained in:
parent
6cffab2840
commit
73e627807c
@ -17,10 +17,10 @@
|
||||
msg: "{{ podman_active_version }}"
|
||||
|
||||
- include_tasks: setup_user.yml
|
||||
when: (not podman_version_check|bool) or (podman_active_version.stdout != podman_version)
|
||||
when: (not podman_version_check|bool) or (podman_active_version.stdout is defined and podman_active_version.stdout != podman_version)
|
||||
|
||||
- include_tasks: install.yml
|
||||
when: (not podman_version_check|bool) or (podman_active_version.stdout != podman_version)
|
||||
when: (not podman_version_check|bool) or (podman_active_version.stdout is defined and podman_active_version.stdout != podman_version)
|
||||
|
||||
- include_tasks: systemd-services.yml
|
||||
when: (not podman_version_check|bool) or (podman_active_version.stdout != podman_version)
|
||||
when: (not podman_version_check|bool) or (podman_active_version.stdout is defined and podman_active_version.stdout != podman_version)
|
||||
|
Loading…
Reference in New Issue
Block a user