Skip to content

Commit

Permalink
fix bare variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
VilleS1 committed Jun 27, 2019
1 parent 2e2728c commit 96d2179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
register: reg_nhc_github_installed
check_mode: no
ignore_errors: True
when: nhc_github
when: nhc_github|bool

- name: install NHC from github
package: pkg={{ nhc_rpm_url }}
when: nhc_github and reg_nhc_github_installed is failed
when: nhc_github|bool and reg_nhc_github_installed is failed

- name: install NHC from a yum repo
package: pkg=lbnl-nhc
Expand Down

0 comments on commit 96d2179

Please sign in to comment.