ansible/test/integration/targets/fileglob/find_levels/play.yml
Brian Coca d3cab602a5
Fix fileglob when using 'file*' vs 'stuff/file*' (#68945)
* Fix fileglob when using 'file*' vs 'stuff/file*'

 when not having dir in glob, files/ subdir was being ignored.

* tests for fileglob
2020-04-17 09:51:05 -04:00

13 lines
393 B
YAML

- hosts: localhost
gather_facts: false
vars:
expected:
play_adj: ajectent to play
play_adj_subdir: in files subdir adjacent to play
somepath/play_adj_subsubdir: in play adjacent subdir of files/
in_role: file in role
otherpath/in_role_subdir: file in role subdir
tasks:
- name: Import role lookup
import_role:
name: get_file