)]}'
{"tools/ovn_migration/tripleo_environment/playbooks/roles/migration/tasks/sync-dbs.yml":[{"author":{"_account_id":29350,"name":"Roman Safronov","email":"rsafrono@redhat.com","username":"rsafrono"},"change_message_id":"4219d96661d97b980505666aaffdd00d38b040b6","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"- name: Get the neutron container ID"},{"line_number":3,"context_line":"  shell:"},{"line_number":4,"context_line":"    podman ps --filter \"name\u003dneutron_api\" --format {% raw %}\"{{.ID}}\"{% endraw %}"},{"line_number":5,"context_line":"  register: neutron_id"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- name: Sync neutron db with OVN db (container) - Run 1"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"9f560f44_1918be1c","line":4,"range":{"start_line":4,"start_character":4,"end_line":4,"end_character":81},"updated":"2020-09-14 14:43:53.000000000","message":"in my case this command returns error, see below:\n[heat-admin@controller-0 ~]$ sudo podman ps --filter \"name\u003dneutron_api\" --format {% raw %}\"{{.ID}}\"{% endraw %}\nError: `podman ps` takes no arguments\n\nwhile this one returns an id: \n[heat-admin@controller-0 ~]$ sudo podman ps | grep neutron_api | awk \u0027{print $1}\u0027\n47f64f5c287b","commit_id":"4b30dc2330423fd9fe68a70f7b2e0c6f925ecda4"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"38d1d2bebc8689189b43934e3457f9fee891b152","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"- name: Get the neutron container ID"},{"line_number":3,"context_line":"  shell:"},{"line_number":4,"context_line":"    podman ps --filter \"name\u003dneutron_api\" --format {% raw %}\"{{.ID}}\"{% endraw %}"},{"line_number":5,"context_line":"  register: neutron_id"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- name: Sync neutron db with OVN db (container) - Run 1"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"9f560f44_21f61b92","line":4,"range":{"start_line":4,"start_character":4,"end_line":4,"end_character":81},"in_reply_to":"9f560f44_1918be1c","updated":"2020-09-15 12:29:33.000000000","message":"You left the jinja {% raw %} in your command. The real command is podman ps --filter \"name\u003dneutron_api\" --format \"{{.ID}}\" and it works for me:\n\n[root@controller-0 ~]# podman ps --filter \"name\u003dneutron_api\" --format \"{{.ID}}\"\n6d8e92e188f0","commit_id":"4b30dc2330423fd9fe68a70f7b2e0c6f925ecda4"}]}
