update for new homedir-setup

Sat, 13 Feb 2016 23:33:26 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 13 Feb 2016 23:33:26 -0500
changeset 8
b2d82cd36d68
parent 7
9ab149fcf0af
child 9
40d4e3ca3b42

update for new homedir-setup

roles/devbox/tasks/main.yml file | annotate | diff | comparison | revisions
--- a/roles/devbox/tasks/main.yml
+++ b/roles/devbox/tasks/main.yml
@@ -82,9 +82,9 @@
 - name: Run homedir-setup
   sudo: true
   sudo_user: "{{user.name}}"
-  shell: ./.homedir-setup.rb -su chdir={{user.home}}
+  shell: bin/homedir-setup chdir={{user.home}}
   register: homedir_setup
-  changed_when: homedir_setup.stdout | match("Updating|Installing")
+  changed_when: homedir_setup.stdout | match("Updating|Cloning")
   failed_when: homedir_setup.rc != 0
   tags: user, install
 

mercurial