Regex syntax changes in yml mode

This commit is contained in:
Andrew Greenwood 2017-02-17 17:30:39 -05:00
parent bd92569728
commit 4bc669cc0b

View file

@ -16,7 +16,7 @@
when: not download_always_pull|bool when: not download_always_pull|bool
- set_fact: - set_fact:
docker_images: "{{docker_images_raw.stdout|regex_replace('\[|\]|\\n]','')|regex_replace('\s',',')}}" docker_images: "{{docker_images_raw.stdout|regex_replace('\\[|\\]|\\n]','')|regex_replace('\\s',',')}}"
when: not download_always_pull|bool when: not download_always_pull|bool
- set_fact: - set_fact: