Untitled

 avatar
cion
plain_text
6 months ago
457 B
3
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