diff --git a/infrastructure-playbooks/docker-to-podman.yml b/infrastructure-playbooks/docker-to-podman.yml index b981c0f7a8..fac7899d38 100644 --- a/infrastructure-playbooks/docker-to-podman.yml +++ b/infrastructure-playbooks/docker-to-podman.yml @@ -79,8 +79,8 @@ tags: with_pkg when: not is_atomic | bool - - name: check podman presence - command: command -v podman + - name: check podman presence # noqa : 305 + shell: command -v podman register: podman_presence changed_when: false failed_when: false diff --git a/infrastructure-playbooks/purge-cluster.yml b/infrastructure-playbooks/purge-cluster.yml index 7ead4d3662..016926ebe4 100644 --- a/infrastructure-playbooks/purge-cluster.yml +++ b/infrastructure-playbooks/purge-cluster.yml @@ -493,8 +493,8 @@ failed_when: false register: ceph_lockbox_partition_to_erase_path - - name: see if ceph-volume is installed - command: command -v ceph-volume + - name: see if ceph-volume is installed # noqa : 305 + shell: command -v ceph-volume changed_when: false failed_when: false register: ceph_volume_present