diff --git a/tasks/main.yml b/tasks/main.yml index dbfd7b9..8e0969f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -17,10 +17,10 @@ msg: "{{ podman_active_version }}" - include_tasks: setup_user.yml - when: (not podman_version_check|bool) or (podman_active_version.stdout is defined and podman_active_version.stdout != podman_version) + when: (not podman_version_check|bool) or podman_active_version.stdout is not defined or podman_active_version.stdout != podman_version - include_tasks: install.yml - when: (not podman_version_check|bool) or (podman_active_version.stdout is defined and podman_active_version.stdout != podman_version) + when: (not podman_version_check|bool) or podman_active_version.stdout is not defined or podman_active_version.stdout != podman_version - include_tasks: systemd-services.yml - when: (not podman_version_check|bool) or (podman_active_version.stdout is defined and podman_active_version.stdout != podman_version) + when: (not podman_version_check|bool) or podman_active_version.stdout is not defined or podman_active_version.stdout != podman_version