]> git.phdru.name Git - ansible.git/blobdiff - playbooks/debian/roles/phd/tasks/main.yml
Fix conditions
[ansible.git] / playbooks / debian / roles / phd / tasks / main.yml
index 4c00ec5d2d369e06b92bd489fa10d1df1ce921a7..2c7373c0845e7ba58b5cd9f437cc92aa2bf8c0c8 100644 (file)
@@ -16,4 +16,4 @@
       unarchive:
         src: ~/archive/STORE/phd/Home/phd.tar.bz2
         dest: /home
-  when: phd_exists.results|selectattr('stat.exists')|list|length == 2
+  when: phd_exists.results|selectattr('stat.exists')|list|length != 2