1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 05:25:29 +03:00

Simplify syntax for loop labels

This commit is contained in:
AlanCoding 2020-03-04 08:07:10 -05:00
parent 3e08bbeb93
commit 54b553b78c
No known key found for this signature in database
GPG Key ID: FD2C3C012A72926B

View File

@ -23,7 +23,7 @@
replace: 'extends_documentation_fragment: {{ collection_namespace }}.{{ collection_package }}.auth'
loop: "{{ module_files.files }}"
loop_control:
label: "{{ item.path[ playbook_dir | length :] }}"
label: "{{ item.path | basename }}"
- name: Change files to support desired namespace and package names
replace: