From 4bc669cc0b24e357425a0cbfaf8b6b369497a7b7 Mon Sep 17 00:00:00 2001 From: Andrew Greenwood Date: Fri, 17 Feb 2017 17:30:39 -0500 Subject: [PATCH] Regex syntax changes in yml mode --- roles/download/tasks/set_docker_image_facts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/download/tasks/set_docker_image_facts.yml b/roles/download/tasks/set_docker_image_facts.yml index 3f3e20fe1..3d3b3b1d6 100644 --- a/roles/download/tasks/set_docker_image_facts.yml +++ b/roles/download/tasks/set_docker_image_facts.yml @@ -16,7 +16,7 @@ when: not download_always_pull|bool - 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 - set_fact: