Skip to content
Snippets Groups Projects
Commit ab794869 authored by nimrod's avatar nimrod
Browse files

Correct changed_when statement.

parent 74a87338
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
- name: Symlink python
raw: ln -s /usr/local/bin/python2.7 /usr/bin/python
register: symlink_python
changed_when: not 'File exists' in symlink_python.stderr
changed_when: not 'File exists' in symlink_python.stdout_lines[0]
failed_when: symlink_python|failed and not 'File exists' in symlink_python.stdout_lines[0]
- name: Gather facts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment