)]}'
{"multi-node-aio/playbooks/deploy-osa.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"9d545f181df026785912b15d581a2b406ba964c0","unresolved":false,"context_lines":[{"line_number":36,"context_line":"      git:"},{"line_number":37,"context_line":"        repo: \"{{ osa_repo | default(\u0027https://git.openstack.org/openstack/openstack-ansible\u0027) }}\""},{"line_number":38,"context_line":"        dest: /opt/openstack-ansible"},{"line_number":39,"context_line":"        version: \"{{ osa_branch | default(\u0027master\u0027) }}\""},{"line_number":40,"context_line":"        force: true"},{"line_number":41,"context_line":"      when:"},{"line_number":42,"context_line":"        - pre_config_osa | default(true) | bool"},{"line_number":43,"context_line":"        - clone_osa | default(true) | bool"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f79a3b5_fe1438a1","line":40,"range":{"start_line":39,"start_character":0,"end_line":40,"end_character":19},"updated":"2018-09-16 07:26:03.000000000","message":"You can achieve the same result by doing the following:\n\nRemove \u0027force: true\u0027. I don\u0027t think it belongs there anyway, as it will forcibly remove any changes in the repo which negates the ability to test changes.\n\nHave version set to \"{{ osa_branch | default(omit) }}\" so that it will only checkout a SHA/ref/branch if you give it one. For something already checked out you wouldn\u0027t be giving it one.\n\nHave the argument \u0027update: \"{{ (osa_branch is defined) | ternary(True, omit) }}\" so that it only does a clone update to fetch new refs if a branch value is given.","commit_id":"c6926013dae77b839698a9c1d3b605bd5c0e9224"},{"author":{"_account_id":7414,"name":"David Wilde","email":"dwilde@redhat.com","username":"d34dh0r53"},"change_message_id":"dd90ccf856f466e7c6d53f8830086488a1ffd5e9","unresolved":false,"context_lines":[{"line_number":36,"context_line":"      git:"},{"line_number":37,"context_line":"        repo: \"{{ osa_repo | default(\u0027https://git.openstack.org/openstack/openstack-ansible\u0027) }}\""},{"line_number":38,"context_line":"        dest: /opt/openstack-ansible"},{"line_number":39,"context_line":"        version: \"{{ osa_branch | default(\u0027master\u0027) }}\""},{"line_number":40,"context_line":"        force: true"},{"line_number":41,"context_line":"      when:"},{"line_number":42,"context_line":"        - pre_config_osa | default(true) | bool"},{"line_number":43,"context_line":"        - clone_osa | default(true) | bool"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f79a3b5_0e64df4c","line":40,"range":{"start_line":39,"start_character":0,"end_line":40,"end_character":19},"in_reply_to":"3f79a3b5_bab0fefe","updated":"2018-10-04 19:41:30.000000000","message":"I\u0027m okay with this if we get rid of the `force: true`.  I am often testing local changes and don\u0027t want them overridden by a forced clone.","commit_id":"c6926013dae77b839698a9c1d3b605bd5c0e9224"},{"author":{"_account_id":13487,"name":"Wayne Warren","email":"wayne.warren.s@gmail.com","username":"waynr"},"change_message_id":"bff46b051cf99b8cfd3240439b90f175cf479127","unresolved":false,"context_lines":[{"line_number":36,"context_line":"      git:"},{"line_number":37,"context_line":"        repo: \"{{ osa_repo | default(\u0027https://git.openstack.org/openstack/openstack-ansible\u0027) }}\""},{"line_number":38,"context_line":"        dest: /opt/openstack-ansible"},{"line_number":39,"context_line":"        version: \"{{ osa_branch | default(\u0027master\u0027) }}\""},{"line_number":40,"context_line":"        force: true"},{"line_number":41,"context_line":"      when:"},{"line_number":42,"context_line":"        - pre_config_osa | default(true) | bool"},{"line_number":43,"context_line":"        - clone_osa | default(true) | bool"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f79a3b5_bab0fefe","line":40,"range":{"start_line":39,"start_character":0,"end_line":40,"end_character":19},"in_reply_to":"3f79a3b5_fe1438a1","updated":"2018-09-17 13:11:23.000000000","message":"Yeah I didn\u0027t want to presume upon anyone else\u0027s usecase of this playbook and it seemed simpler just to make this whole step optional since I already have a working copy of openstack-ansible by this point.\n\nAlso, I need to clone OSA prior to running this playbook anyway in order to run bootstrap-ansible.sh when building the docker container used to run this playbook.","commit_id":"c6926013dae77b839698a9c1d3b605bd5c0e9224"}]}
