Change command to check python is installed

This commit is contained in:
Hiroaki Nakamura 2016-07-05 21:37:41 +09:00 committed by Matt Clay
parent 382f9b0999
commit a06179e08b

View file

@ -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