Skip to content

Commit

Permalink
do not require root for local find
Browse files Browse the repository at this point in the history
  • Loading branch information
Norbert Varzariu committed Jan 16, 2019
1 parent 9e69fc1 commit f75d7ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
shell: "find {{ lookup('env', 'MOLECULE_VERIFIER_TEST_DIRECTORY') }} \\( -name 'test_*.yml' -and -not -name 'test_host_*.yml' \\) -or -name 'test_host_{{ ansible_hostname }}*.yml'"
delegate_to: localhost
register: test_files
become: false

- name: debug
debug:
Expand Down
1 change: 1 addition & 0 deletions test/scenarios/verifier/molecule/goss/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
shell: "find {{ lookup('env', 'MOLECULE_VERIFIER_TEST_DIRECTORY') }} \\( -name 'test_*.yml' -and -not -name 'test_host_*.yml' \\) -or -name 'test_host_{{ ansible_hostname }}*.yml'"
delegate_to: localhost
register: test_files
become: false

- name: debug
debug:
Expand Down

0 comments on commit f75d7ef

Please sign in to comment.