Skip to content

Commit

Permalink
Merge pull request #322 from DWSR/make-compatible-with-zsh
Browse files Browse the repository at this point in the history
Make command compatible with ZSH
  • Loading branch information
neillturner authored Nov 26, 2020
2 parents fa49cae + aa9d00b commit 1252047
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/kitchen-ansible/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- encoding: utf-8 -*-
module Kitchen
module Ansible
VERSION = '0.52.0'.freeze
VERSION = '0.53.0'.freeze
end
end
2 changes: 1 addition & 1 deletion lib/kitchen/provisioner/ansible_playbook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def prepare_command
commands = []

commands << [
"if [ $(uname -s) == 'FreeBSD' ]; then ETC_ANSIBLE='/usr/local/etc/ansible'; else ETC_ANSIBLE='/etc/ansible'; fi"
"if [ $(uname -s) = 'FreeBSD' ]; then ETC_ANSIBLE='/usr/local/etc/ansible'; else ETC_ANSIBLE='/etc/ansible'; fi"
]
# Prevent failure when ansible package installation doesn't contain /etc/ansible
commands << [
Expand Down

0 comments on commit 1252047

Please sign in to comment.