)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"a9905500adf912bbdd87abbc4baf9ebc63eec320","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"328cad3f_1e021625","updated":"2023-02-21 23:43:40.000000000","message":"The task \"Get logs for each host\" fails due to template error \"template error while templating string: unexpected \u0027.\u0027\"","commit_id":"7c8360b65d0943f50ff917583d7db8d5d226a3f0"},{"author":{"_account_id":33949,"name":"Walter S Wahlstedt","display_name":"Walter Wahlstedt","email":"ww229g@att.com","username":"wwahlstedt"},"change_message_id":"298a3cc41d0811efa383ac4e56dba7af4d292e91","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"93467715_06aba14f","in_reply_to":"328cad3f_1e021625","updated":"2023-02-22 19:43:27.000000000","message":"yes, it seems the \u0027{{.Names}}\u0027 parameter is trying to template out as ansible instead of a literal. I\u0027m looking into how to escape this for ansible but use it for bash/docker","commit_id":"7c8360b65d0943f50ff917583d7db8d5d226a3f0"},{"author":{"_account_id":33949,"name":"Walter S Wahlstedt","display_name":"Walter Wahlstedt","email":"ww229g@att.com","username":"wwahlstedt"},"change_message_id":"298a3cc41d0811efa383ac4e56dba7af4d292e91","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"9e503d69_c69c72d4","updated":"2023-02-22 19:43:27.000000000","message":"looks like Vladimirs comment fixed the errors.","commit_id":"d132d708e978511b49fd4cc4fdf9ee74dd457539"}],"roles/gather-host-logs/tasks/main.yaml":[{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"6571cd9703544fdd6c6fa057d46c6281f3db5368","unresolved":true,"context_lines":[{"line_number":29,"context_line":"          brctl show \u003e {{ logs_dir }}/system/brctl-show.txt"},{"line_number":30,"context_line":"          ps aux --sort\u003d-%mem \u003e {{ logs_dir }}/system/ps.txt"},{"line_number":31,"context_line":"          dpkg -l \u003e {{ logs_dir }}/system/packages.txt"},{"line_number":32,"context_line":"          CONTAINERS\u003d($(docker ps -a --format \u0027{{.Names}}\u0027 --filter label\u003dzuul))"},{"line_number":33,"context_line":"          if [ ! -z \"$CONTAINERS\" ]; then"},{"line_number":34,"context_line":"            mkdir -p \"{{ logs_dir }}/system/containers\""},{"line_number":35,"context_line":"            for CONTAINER in ${CONTAINERS}; do"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"90ba58fc_bc835924","line":32,"updated":"2023-02-21 23:15:54.000000000","message":"Single quotes probably don\u0027t help in this case. Instead you can try something like\n```\n{% raw %}\u0027{{ .Names }}\u0027{% endraw %}\n```\n\nhttps://stackoverflow.com/questions/32279519/escaping-double-curly-braces-in-ansible","commit_id":"7c8360b65d0943f50ff917583d7db8d5d226a3f0"},{"author":{"_account_id":33949,"name":"Walter S Wahlstedt","display_name":"Walter Wahlstedt","email":"ww229g@att.com","username":"wwahlstedt"},"change_message_id":"298a3cc41d0811efa383ac4e56dba7af4d292e91","unresolved":false,"context_lines":[{"line_number":29,"context_line":"          brctl show \u003e {{ logs_dir }}/system/brctl-show.txt"},{"line_number":30,"context_line":"          ps aux --sort\u003d-%mem \u003e {{ logs_dir }}/system/ps.txt"},{"line_number":31,"context_line":"          dpkg -l \u003e {{ logs_dir }}/system/packages.txt"},{"line_number":32,"context_line":"          CONTAINERS\u003d($(docker ps -a --format \u0027{{.Names}}\u0027 --filter label\u003dzuul))"},{"line_number":33,"context_line":"          if [ ! -z \"$CONTAINERS\" ]; then"},{"line_number":34,"context_line":"            mkdir -p \"{{ logs_dir }}/system/containers\""},{"line_number":35,"context_line":"            for CONTAINER in ${CONTAINERS}; do"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"b142f8a7_73dfad59","line":32,"in_reply_to":"90ba58fc_bc835924","updated":"2023-02-22 19:43:27.000000000","message":"This seems to have fixed it.","commit_id":"7c8360b65d0943f50ff917583d7db8d5d226a3f0"}]}
