roles/devbox/tasks/main.yml

changeset 8
b2d82cd36d68
parent 6
0fe74156183f
child 10
ee86092e374a
equal deleted inserted replaced
7:9ab149fcf0af 8:b2d82cd36d68
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

mercurial