)]}'
{"playbooks/openstack-hosts-setup.yml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"49fa94e5362aa1cd2c91a81de8d220ab40f3c5e8","unresolved":false,"context_lines":[{"line_number":18,"context_line":"  gather_facts: false"},{"line_number":19,"context_line":"  user: root"},{"line_number":20,"context_line":"  pre_tasks:"},{"line_number":21,"context_line":"    - name: Install Python2"},{"line_number":22,"context_line":"      register: result"},{"line_number":23,"context_line":"      raw: \u003e"},{"line_number":24,"context_line":"        source /etc/os-release"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"        case ${ID} in"},{"line_number":27,"context_line":"          centos|rhel)"},{"line_number":28,"context_line":"            yum list installed python"},{"line_number":29,"context_line":"            result\u003d$?"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"            if [ $result -eq 1 ]; then"},{"line_number":32,"context_line":"              yum -y install python2"},{"line_number":33,"context_line":"              result\u003d2"},{"line_number":34,"context_line":"            fi"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"            exit $result;"},{"line_number":37,"context_line":"          ;;"},{"line_number":38,"context_line":"          ubuntu)"},{"line_number":39,"context_line":"            dpkg-query -s python \u0026\u003e /dev/null"},{"line_number":40,"context_line":"            result\u003d$?"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"            if [ $result -eq 1 ]; then"},{"line_number":43,"context_line":"              apt-get -y install python"},{"line_number":44,"context_line":"              result\u003d2"},{"line_number":45,"context_line":"            fi"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"            exit $result;"},{"line_number":48,"context_line":"          ;;"},{"line_number":49,"context_line":"        esac"},{"line_number":50,"context_line":"      changed_when: \"result.rc \u003d\u003d 2\""},{"line_number":51,"context_line":"      failed_when: \"{{ result.rc not in [0, 2] }}\""},{"line_number":52,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":3,"id":"df3967d1_0cf522ed","side":"PARENT","line":49,"range":{"start_line":21,"start_character":0,"end_line":49,"end_character":12},"updated":"2017-08-04 18:44:12.000000000","message":"Is this no longer needed at all?","commit_id":"28a50d51c1d83e8b5d56998bf262000559f3adbc"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"d53904a354cebd7558916e74a9f524a49aca6b00","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"            exit $result;"},{"line_number":48,"context_line":"          ;;"},{"line_number":49,"context_line":"        esac"},{"line_number":50,"context_line":"      changed_when: \"result.rc \u003d\u003d 2\""},{"line_number":51,"context_line":"      failed_when: \"{{ result.rc not in [0, 2] }}\""},{"line_number":52,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":3,"id":"df3967d1_0c2ac22a","side":"PARENT","line":49,"in_reply_to":"df3967d1_0cf522ed","updated":"2017-08-04 18:49:33.000000000","message":"Not that I can tell. CentOS must have python, or you have no yum (which means this gate would break horribly).\n\nOn Ubuntu, we should just install python if it isn\u0027t there. There\u0027s no need to check first and then install it.","commit_id":"28a50d51c1d83e8b5d56998bf262000559f3adbc"}],"scripts/bootstrap-ansible.sh":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"49fa94e5362aa1cd2c91a81de8d220ab40f3c5e8","unresolved":false,"context_lines":[{"line_number":57,"context_line":"determine_distro"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"# Prefer dnf over yum for CentOS."},{"line_number":60,"context_line":"which dnf \u0026\u003e/dev/null \u0026\u0026 RHT_PKG_MGR\u003d\u0027dnf\u0027 || RHT_PKG_MGR\u003d\u0027yum\u0027"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"# Install the base packages"},{"line_number":63,"context_line":"case ${DISTRO_ID} in"}],"source_content_type":"text/x-sh","patch_set":3,"id":"df3967d1_acbe16fc","line":60,"range":{"start_line":60,"start_character":0,"end_line":60,"end_character":43},"updated":"2017-08-04 18:44:12.000000000","message":"I think this might need to be in parenthesis else it wont fall back to `yum`.\n\n  (which dnf \u0026\u003e/dev/null \u0026\u0026 RHT_PKG_MGR\u003d\u0027dnf\u0027) || RHT_PKG_MGR\u003d\u0027yum\u0027","commit_id":"bbbd367db74a3b772596af5d9a2f2cadb0a15855"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"d53904a354cebd7558916e74a9f524a49aca6b00","unresolved":false,"context_lines":[{"line_number":57,"context_line":"determine_distro"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"# Prefer dnf over yum for CentOS."},{"line_number":60,"context_line":"which dnf \u0026\u003e/dev/null \u0026\u0026 RHT_PKG_MGR\u003d\u0027dnf\u0027 || RHT_PKG_MGR\u003d\u0027yum\u0027"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"# Install the base packages"},{"line_number":63,"context_line":"case ${DISTRO_ID} in"}],"source_content_type":"text/x-sh","patch_set":3,"id":"df3967d1_0cdf623a","line":60,"in_reply_to":"df3967d1_acbe16fc","updated":"2017-08-04 18:49:33.000000000","message":"It\u0027s falling back properly in this gate job already (unless I missed something).","commit_id":"bbbd367db74a3b772596af5d9a2f2cadb0a15855"}]}
