Skip to content

Commit

Permalink
Merge pull request #140 from rocknsm/hotfix/2.0.4
Browse files Browse the repository at this point in the history
Hotfix/2.0.4
  • Loading branch information
jeffgeiger authored May 9, 2017
2 parents 9cfa82e + bf5b087 commit f6dbc47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playbooks/deploy-rock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
- name: Configure packages
set_fact:
rocknsm_package_list: "{{ rocknsm_package_list }} + [ '{{ item.pkg }}']"
when: (item.test) or (item.test is undefined)
when: (item.test is undefined) or (item.test)
with_items:
- { pkg: elasticsearch, test: "{{with_elasticsearch}}", state: installed }
- { pkg: logstash, test: "{{with_logstash}}", state: installed }
Expand All @@ -186,7 +186,7 @@
yum:
name: "{{ item.pkg }}"
state: "{{ item.state }}"
when: (item.test) or (item.test is undefined)
when: (item.test is undefined) or (item.test)
with_items:
- { pkg: "{{ rocknsm_package_list }}", state: installed }

Expand Down

0 comments on commit f6dbc47

Please sign in to comment.