mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-10 18:15:39 +00:00
Fix lookup_filetree integration test lookup term path
This commit is contained in:
parent
8cec602a85
commit
52e98362e7
1 changed files with 3 additions and 3 deletions
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
- name: Lookup filetree without exclude
|
||||
ansible.builtin.set_fact:
|
||||
filetree_all: "{{ lookup('community.general.filetree', 'data') }}"
|
||||
filetree_all: "{{ lookup('community.general.filetree', 'data/') }}"
|
||||
|
||||
- name: Verify all entries are listed
|
||||
ansible.builtin.assert:
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
- name: Lookup filetree with valid exclude regex
|
||||
ansible.builtin.set_fact:
|
||||
filetree_filtered: "{{ lookup('community.general.filetree', 'data', exclude='^\\.git$') }}"
|
||||
filetree_filtered: "{{ lookup('community.general.filetree', 'data/', exclude='^\\.git$') }}"
|
||||
|
||||
- name: Verify exclude filters matching basenames
|
||||
ansible.builtin.assert:
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
|
||||
- name: Lookup filetree with invalid exclude regex
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ lookup('community.general.filetree', 'data', exclude='temp[1') }}"
|
||||
msg: "{{ lookup('community.general.filetree', 'data/', exclude='temp[1') }}"
|
||||
ignore_errors: true
|
||||
register: invalid_exclude
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue