)]}'
{"scripts/upgrade-utilities/playbooks/deploy-config-changes.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"a031144b9570641d03b1ac12b9e153152001a1d9","unresolved":false,"context_lines":[{"line_number":30,"context_line":"          path: \"/etc/openstack_deploy/env.d\""},{"line_number":31,"context_line":"        register: _envd_dir"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"      - block:"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"        - name: Retrieve differences"},{"line_number":36,"context_line":"          shell: rsync -avun \"{{ repo_root_dir }}/playbooks/inventory/env.d/\" \"/etc/openstack_deploy/env.d/\" | grep \"yml$\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"9a30ddce_166e302f","line":33,"updated":"2017-03-08 13:22:21.000000000","message":"blocks are for error handling, not for applying conditionals.\n\nYou probably want to have a when: on retrieve differences task, that would basically do the same.","commit_id":"163856e5887a5dfc3814828f3f3a224903973283"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"a0a35890d0bcc8c104b72a0438b4814baa71f4aa","unresolved":false,"context_lines":[{"line_number":30,"context_line":"          path: \"/etc/openstack_deploy/env.d\""},{"line_number":31,"context_line":"        register: _envd_dir"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"      - block:"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"        - name: Retrieve differences"},{"line_number":36,"context_line":"          shell: rsync -avun \"{{ repo_root_dir }}/playbooks/inventory/env.d/\" \"/etc/openstack_deploy/env.d/\" | grep \"yml$\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"9a30ddce_0010a500","line":33,"in_reply_to":"9a30ddce_166e302f","updated":"2017-03-08 14:33:33.000000000","message":"The whole \u0027retrieve differences\u0027 task is actually wrong. It looks for any differences (including missing files), then copies them all over. We should not be doing that.\n\nAlso, if I allow that task to execute it causes a big, nasty block of red text because of the failure. This is very confusing.\n\nThe whole thing needs a rewrite anyway, for now I\u0027m just trying to get a check success... after that we can analyse how to do it better. In my mind we should detect, inform and fail... not edit config on behalf of.\n\nIf you insist on this then please revise the patch and test it.","commit_id":"163856e5887a5dfc3814828f3f3a224903973283"}]}
