mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Change command to check python is installed
This commit is contained in:
committed by
Matt Clay
parent
382f9b0999
commit
a06179e08b
@@ -170,7 +170,7 @@ EXAMPLES = """
|
||||
|
||||
- name: check python is installed in container
|
||||
delegate_to: mycontainer
|
||||
raw: dpkg-query -W -f='${Status}' python
|
||||
raw: dpkg -s python
|
||||
register: python_install_check
|
||||
failed_when: python_install_check.rc not in [0, 1]
|
||||
changed_when: false
|
||||
|
||||
Reference in New Issue
Block a user