Skip to content

Instantly share code, notes, and snippets.

View gvych's full-sized avatar

g.vyacheslav gvych

  • Russia, Saint-Petersburg
View GitHub Profile
@gvych
gvych / gist:f654731627a529f130c49ab7787ae6f0
Last active May 27, 2018 07:43
Ansible html directory listing parsing
- set_fact:
files_list: >
{{ remote_site_uri.content |
regex_findall('<a href=\"(.*)\">') |
difference(['../'])
}}