fix: ignore the error on first podman installation
This commit is contained in:
parent
b767a7bb71
commit
6cffab2840
@ -5,10 +5,11 @@
|
|||||||
- name: "Get Podman version"
|
- name: "Get Podman version"
|
||||||
become: yes
|
become: yes
|
||||||
become_user: podman_rootless
|
become_user: podman_rootless
|
||||||
ansible.builtin.shell: " XDG_RUNTIME_DIR=/run/user/2534 echo v$(podman --version | cut -d' ' -f 3)"
|
ansible.builtin.shell: "XDG_RUNTIME_DIR=/run/user/2534 echo v$(podman --version | cut -d' ' -f 3)"
|
||||||
register: podman_active_version
|
register: podman_active_version
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
ignore_errors: true
|
||||||
when: podman_version_check|bool
|
when: podman_version_check|bool
|
||||||
|
|
||||||
- name: "test"
|
- name: "test"
|
||||||
|
Loading…
Reference in New Issue
Block a user