80 # This is an existing script that clones/updates oh-my-zsh, rbenv, and plenv. |
80 # This is an existing script that clones/updates oh-my-zsh, rbenv, and plenv. |
81 # My dotfiles use each if the right directory exists. |
81 # My dotfiles use each if the right directory exists. |
82 - name: Run homedir-setup |
82 - name: Run homedir-setup |
83 sudo: true |
83 sudo: true |
84 sudo_user: "{{user.name}}" |
84 sudo_user: "{{user.name}}" |
85 shell: ./.homedir-setup.rb -su chdir={{user.home}} |
85 shell: bin/homedir-setup chdir={{user.home}} |
86 register: homedir_setup |
86 register: homedir_setup |
87 changed_when: homedir_setup.stdout | match("Updating|Installing") |
87 changed_when: homedir_setup.stdout | match("Updating|Cloning") |
88 failed_when: homedir_setup.rc != 0 |
88 failed_when: homedir_setup.rc != 0 |
89 tags: user, install |
89 tags: user, install |
90 |
90 |
91 |
91 |