Last active
May 27, 2018 07:43
-
-
Save gvych/f654731627a529f130c49ab7787ae6f0 to your computer and use it in GitHub Desktop.
Ansible html directory listing parsing
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
| - set_fact: | |
| files_list: > | |
| {{ remote_site_uri.content | | |
| regex_findall('<a href=\"(.*)\">') | | |
| difference(['../']) | |
| }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment