From 18bf2beb96a16daae231f7406dc8344211d0558f Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Mon, 17 Dec 2018 13:50:53 -0800 Subject: [PATCH] [meta] make ~/Library/Colors, fix chruby ansible installation --- ansible/roles/osx/tasks/main.yml | 1 + ansible/roles/ruby/tasks/main.yml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ansible/roles/osx/tasks/main.yml b/ansible/roles/osx/tasks/main.yml index 0520e1d..917ed0e 100644 --- a/ansible/roles/osx/tasks/main.yml +++ b/ansible/roles/osx/tasks/main.yml @@ -17,6 +17,7 @@ dest: ~/Library/KeyBindings/DefaultKeyBinding.dict state: link +- file: path=~/Library/Colors state=directory - name: symlink OS X colors palettes file: src={{ item }} dest=~/Library/Colors/{{ item | basename }} state=link with_fileglob: ~/.dotfiles/osx/Colors/* diff --git a/ansible/roles/ruby/tasks/main.yml b/ansible/roles/ruby/tasks/main.yml index 916bb3d..d280d50 100644 --- a/ansible/roles/ruby/tasks/main.yml +++ b/ansible/roles/ruby/tasks/main.yml @@ -1,6 +1,7 @@ - name: install chruby - homebrew: name={{ item }} state=present - with_items: + homebrew: + state=present + name: - chruby - ruby-install