Untitled
cion
plain_text
10/09/2024 7:08 AM
612 B
13
Indexable
- name: Ensure startup.sh and shutdown.sh have execute permissions
file:
path: "{{ item }}"
mode: '0770'
owner: "{{ owner }}"
group: "{{ group }}"
loop: "{{ lookup('fileglob', install_dir + '/apache-tomcat-' + tomcat_version + '/bin/*.sh') }}"
Error:
No items in the list.
It seems that lookup('fileglob', install_dir + '/apache-tomcat-' + tomcat_version + '/bin/*.sh') doesn't find any file that ends in .sh. but the files are there
Editor is loading...
Leave a Comment