Skip to content

Commit

Permalink
Merge pull request #6 from stewartwebb/master
Browse files Browse the repository at this point in the history
Fix version check matching wrong information
  • Loading branch information
migibert authored Jun 28, 2019
2 parents 2f2d9a2 + 94ba719 commit 7a8e657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
register: terraform_directory

- name: Check terraform version
shell: "terraform --version 2>&1 | grep {{terraform_version}}"
shell: "terraform --version 2>&1 | head -n 1 | grep {{terraform_version}}"
failed_when: false
changed_when: false
register: terraform_versions_match
Expand Down

0 comments on commit 7a8e657

Please sign in to comment.