From 20d3ed2e8c2f2c882e5b711a607d6c2cd6f28de0 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Wed, 28 Aug 2019 16:10:18 -0700 Subject: [PATCH] [ansible] move away from deprecated with_items for homebrew --- ansible/roles/ruby/tasks/main.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ansible/roles/ruby/tasks/main.yml b/ansible/roles/ruby/tasks/main.yml index 90557e0..cfb1333 100644 --- a/ansible/roles/ruby/tasks/main.yml +++ b/ansible/roles/ruby/tasks/main.yml @@ -1,10 +1,9 @@ - name: install chruby homebrew: - name: "{{ item }}" + name: + - chruby + - ruby-install state: present - with_items: - - chruby - - ruby-install - name: install Ruby command: /usr/local/bin/ruby-install ruby creates=~/.rubies/ruby-*