Ansible Module find: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Ansible Concepts =Example= <syntaxhighlight lang='yaml'> - name: Find JetBrains applications find: paths: "{{ ansible_env.HOME }}/Library/Application...") |
No edit summary |
||
Line 1: | Line 1: | ||
=External= | |||
* https://docs.ansible.com/ansible/latest/collections/ansible/builtin/find_module.html | |||
=Internal= | =Internal= | ||
* [[Ansible Concepts]] | * [[Ansible Concepts]] | ||
=Example= | =Example= | ||
Revision as of 04:17, 2 July 2021
External
Internal
Example
- name: Find JetBrains applications
find:
paths: "{{ ansible_env.HOME }}/Library/Application Support/JetBrains/Toolbox/apps"
recurse: yes
patterns: '.history.json'
hidden: yes
file_type: file
depth: 5
register: intellij_apps