Change command to check python is installed
This commit is contained in:
parent
382f9b0999
commit
a06179e08b
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ EXAMPLES = """
|
||||||
|
|
||||||
- name: check python is installed in container
|
- name: check python is installed in container
|
||||||
delegate_to: mycontainer
|
delegate_to: mycontainer
|
||||||
raw: dpkg-query -W -f='${Status}' python
|
raw: dpkg -s python
|
||||||
register: python_install_check
|
register: python_install_check
|
||||||
failed_when: python_install_check.rc not in [0, 1]
|
failed_when: python_install_check.rc not in [0, 1]
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
Loading…
Reference in a new issue