Created
September 21, 2016 11:33
-
-
Save lanky/0dcd1335f5ad77cb4c1a86e7b0caec37 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: find stuff | |
hosts: localhost | |
tasks: | |
- find: | |
paths: | |
- /etc/pam.d | |
file_type: file | |
patterns: | |
- system* | |
register: pamfiles | |
- debug: | |
msg: "name: {{ item.path }}" | |
with_items: "{{ pamfiles.files }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment