]> git.phdru.name Git - ansible.git/blobdiff - playbooks/debian/roles/phd/tasks/main.yml
Fix: Use `failed_when` instead of `ignore_errors`
[ansible.git] / playbooks / debian / roles / phd / tasks / main.yml
index 455605f45225f57ee9cd14ba4ef9505991f20cce..98973042f96342b798268e71915f507ff76a0979 100644 (file)
@@ -1,6 +1,6 @@
 - name: Test if user phd already exists
   command: test -f ~/.profile -a -f ~/.shellrc
-  ignore_errors: true
+  failed_when: false
   register: phd_exist
 
 - debug: