Skip to content

Commit

Permalink
Improve syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jdauphant committed May 30, 2017
1 parent bb2f128 commit 8fa8e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- name: install and configure printers
shell: yes |{{brother_bin_dir}}/linux-brprinter-installer {{item}} chdir=/tmp
register: install_result
with_items: brother_printers_to_install
with_items: "{{brother_printers_to_install}}"
changed_when: "'Invalid IP address' in install_result.stderr"
failed_when: "'Invalid IP address' not in install_result.stderr"
ignore_errors: True
Expand Down

0 comments on commit 8fa8e2f

Please sign in to comment.