Skip to content

Commit

Permalink
fix ansible-linter warning for not comparing empty strings:
Browse files Browse the repository at this point in the history
  • Loading branch information
baloo42 committed Jun 29, 2019
1 parent b4cf7e1 commit 6013ab2
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 @@ -38,7 +38,7 @@
- name: Install equery on Gentoo based containers when not available
raw: test -e /usr/bin/equery || emerge --ask n gentoolkit
register: equery_status
changed_when: equery_status.stdout != ''
changed_when: equery_status.stdout | length > 0
when: ansible_os_family == 'Gentoo'

- name: Install some basic packages
Expand Down

0 comments on commit 6013ab2

Please sign in to comment.