)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"0d6831a3c1838b44112e0c3acf9a11491db32d3a","unresolved":false,"context_lines":[{"line_number":16,"context_line":"TODO:"},{"line_number":17,"context_line":"- get it working for Ubuntu"},{"line_number":18,"context_line":"- get it working for CentOS/SuSE"},{"line_number":19,"context_line":"- write up release notes"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Change-Id: If189a8192f22aafb168587361ca8e6903c918697"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"7f515b1d_6bcdca2f","line":19,"updated":"2017-09-28 10:01:49.000000000","message":"References:\nhttps://mariadb.com/kb/en/library/getting-started-with-mariadb-galera-cluster/\nhttps://www.percona.com/blog/2014/09/01/galera-replication-how-to-recover-a-pxc-cluster/","commit_id":"66045711e6b48381a3eb46a9d47771f6e4119004"}],"defaults/main.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"9f516088e3c2d9008a985248c5507142bc17b4df","unresolved":false,"context_lines":[{"line_number":198,"context_line":"#"},{"line_number":199,"context_line":"# Setting the following variable to \u0027yes\u0027 will disable the PrivateDevices"},{"line_number":200,"context_line":"# setting in the systemd unit file for MariaDB on CentOS 7 hosts."},{"line_number":201,"context_line":"galera_disable_privatedevices: \"{{ _galera_disable_privatedevices }}\""},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"## Set default mirror for openSUSE repositories"},{"line_number":204,"context_line":"# NOTE(hwoarang): Ensure that the full path to the \u0027opensuse\u0027 directory is used."}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f485f77_9506cc1f","line":201,"updated":"2017-11-17 13:51:02.000000000","message":"This should only be set when galera is deployed in a container, which is why it was set to \u0027no\u0027 here and the group_vars in the integrated repo and tests set it to \u0027yes\u0027.","commit_id":"1388958cd32c946f825c7e95de4a52f56acffba1"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"51ffacc5e4e3e684095836a0071d9b273885e52e","unresolved":false,"context_lines":[{"line_number":198,"context_line":"#"},{"line_number":199,"context_line":"# Setting the following variable to \u0027yes\u0027 will disable the PrivateDevices"},{"line_number":200,"context_line":"# setting in the systemd unit file for MariaDB on CentOS 7 hosts."},{"line_number":201,"context_line":"galera_disable_privatedevices: \"{{ _galera_disable_privatedevices }}\""},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"## Set default mirror for openSUSE repositories"},{"line_number":204,"context_line":"# NOTE(hwoarang): Ensure that the full path to the \u0027opensuse\u0027 directory is used."}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f485f77_7d67b2b8","line":201,"in_reply_to":"1f485f77_9506cc1f","updated":"2017-11-17 16:20:49.000000000","message":"Prior to this change we were only setting this option when running on CentOS. Now we\u0027ll set this option on all distros and we\u0027re using the system default settings for SUSE and Ubuntu only overriding the default system setting on CentOS due to the known bug.","commit_id":"1388958cd32c946f825c7e95de4a52f56acffba1"}],"files/mariadb.fact":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"017045764b6a582a7e208d4aa4b5a276cba36d84","unresolved":false,"context_lines":[{"line_number":30,"context_line":"                                                      \"show global variables\"],"},{"line_number":31,"context_line":"                                                     stderr\u003dsubprocess.STDOUT)"},{"line_number":32,"context_line":"    except subprocess.CalledProcessError as e:"},{"line_number":33,"context_line":"        if e.returncode \u003d\u003d 127:"},{"line_number":34,"context_line":"          facts \u003d {\"status\": \"not installed\"}"},{"line_number":35,"context_line":"        else:"},{"line_number":36,"context_line":"          facts \u003d {\"status\": e.output.strip()}"},{"line_number":37,"context_line":"    else:"},{"line_number":38,"context_line":"        status_lines \u003d status_stdout.split(\u0027\\n\u0027)"},{"line_number":39,"context_line":"        status_dict \u003d dict(l.split(\u0027\\t\u0027) for l in status_lines if l)"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"ff0f0b1f_03adb4e9","line":36,"range":{"start_line":33,"start_character":0,"end_line":36,"end_character":46},"updated":"2017-05-25 16:30:58.000000000","message":"For an error, perhaps return an RC so that we know whether it was successful or not.","commit_id":"d94737a425e21ed3ef20f1637c51a159b49debd0"}],"handlers/main.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"ec8f94f84fbfb4559237ee1db52b795aeb939628","unresolved":false,"context_lines":[{"line_number":23,"context_line":"  command: \u003e"},{"line_number":24,"context_line":"    mysql --silent --skip-column-names --connect-timeout\u003d10 -e \u0027SHOW STATUS LIKE \"wsrep_local_state\";\u0027"},{"line_number":25,"context_line":"  failed_when: false"},{"line_number":26,"context_line":"  changed_when: true"},{"line_number":27,"context_line":"  register: node_status"},{"line_number":28,"context_line":"  listen: Restart all mysql"},{"line_number":29,"context_line":"  notify:"}],"source_content_type":"text/x-yaml","patch_set":23,"id":"ff82abbf_f1c4f294","line":26,"range":{"start_line":26,"start_character":16,"end_line":26,"end_character":20},"updated":"2017-11-20 07:54:29.000000000","message":"show status shouldn\u0027t be cause of a change, does it?\n\nalso this means we always notify, maybe this could be done smartly with depending on the stdout/stderr?","commit_id":"784372e1ee6f4e81b3be437cbb74a1655d70d3d6"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"008c3a520a6b24c61ab9c105945e44307c2c92d8","unresolved":false,"context_lines":[{"line_number":23,"context_line":"  command: \u003e"},{"line_number":24,"context_line":"    mysql --silent --skip-column-names --connect-timeout\u003d10 -e \u0027SHOW STATUS LIKE \"wsrep_local_state\";\u0027"},{"line_number":25,"context_line":"  failed_when: false"},{"line_number":26,"context_line":"  changed_when: true"},{"line_number":27,"context_line":"  register: node_status"},{"line_number":28,"context_line":"  listen: Restart all mysql"},{"line_number":29,"context_line":"  notify:"}],"source_content_type":"text/x-yaml","patch_set":23,"id":"ff82abbf_ef4fd831","line":26,"range":{"start_line":26,"start_character":16,"end_line":26,"end_character":20},"in_reply_to":"ff82abbf_30cb2a54","updated":"2017-11-22 17:28:55.000000000","message":"Thanks Captain O. :p\nWhat I meant is that, you can use the command result to mark if this has changed or not.\n\nYou could consider that if the node isn\u0027t ready, mark this as changed, and the other way around.\n\nThen you listen/notify to only what you find relevant. That would be simpler to read.","commit_id":"784372e1ee6f4e81b3be437cbb74a1655d70d3d6"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"73562b2ab31da4ba0780320632f0110784b06227","unresolved":false,"context_lines":[{"line_number":23,"context_line":"  command: \u003e"},{"line_number":24,"context_line":"    mysql --silent --skip-column-names --connect-timeout\u003d10 -e \u0027SHOW STATUS LIKE \"wsrep_local_state\";\u0027"},{"line_number":25,"context_line":"  failed_when: false"},{"line_number":26,"context_line":"  changed_when: true"},{"line_number":27,"context_line":"  register: node_status"},{"line_number":28,"context_line":"  listen: Restart all mysql"},{"line_number":29,"context_line":"  notify:"}],"source_content_type":"text/x-yaml","patch_set":23,"id":"ff82abbf_30cb2a54","line":26,"range":{"start_line":26,"start_character":16,"end_line":26,"end_character":20},"in_reply_to":"ff82abbf_f1c4f294","updated":"2017-11-20 15:34:37.000000000","message":"The change is used to trigger the rest of the events.","commit_id":"784372e1ee6f4e81b3be437cbb74a1655d70d3d6"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"ec8f94f84fbfb4559237ee1db52b795aeb939628","unresolved":false,"context_lines":[{"line_number":19,"context_line":"    name: mysql"},{"line_number":20,"context_line":"    enabled: \"yes\""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"- name: Check node status"},{"line_number":23,"context_line":"  command: \u003e"},{"line_number":24,"context_line":"    mysql --silent --skip-column-names --connect-timeout\u003d10 -e \u0027SHOW STATUS LIKE \"wsrep_local_state\";\u0027"},{"line_number":25,"context_line":"  failed_when: false"},{"line_number":26,"context_line":"  changed_when: true"},{"line_number":27,"context_line":"  register: node_status"},{"line_number":28,"context_line":"  listen: Restart all mysql"},{"line_number":29,"context_line":"  notify:"},{"line_number":30,"context_line":"    - Bootstrap cluster"},{"line_number":31,"context_line":"    - Restart mysql (All)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"- name: Check if node is in the cluster"},{"line_number":34,"context_line":"  command: \u003e"},{"line_number":35,"context_line":"    mysql --silent --skip-column-names --connect-timeout\u003d10 -e \u0027SHOW STATUS LIKE \"wsrep_incoming_addresses\";\u0027"},{"line_number":36,"context_line":"  failed_when: false"},{"line_number":37,"context_line":"  changed_when: false"},{"line_number":38,"context_line":"  register: incoming_addresses"},{"line_number":39,"context_line":"  listen: Bootstrap cluster"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"- name: Set incoming addresses fact (primary)"},{"line_number":42,"context_line":"  set_fact:"}],"source_content_type":"text/x-yaml","patch_set":23,"id":"ff82abbf_710462c7","line":39,"range":{"start_line":22,"start_character":0,"end_line":39,"end_character":27},"updated":"2017-11-20 07:54:29.000000000","message":"for all these commands, shouldn\u0027t we use a module (like the http://docs.ansible.com/ansible/latest/mysql_replication_module.html) instead? Reports idempotency and improves readability.","commit_id":"784372e1ee6f4e81b3be437cbb74a1655d70d3d6"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"73562b2ab31da4ba0780320632f0110784b06227","unresolved":false,"context_lines":[{"line_number":19,"context_line":"    name: mysql"},{"line_number":20,"context_line":"    enabled: \"yes\""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"- name: Check node status"},{"line_number":23,"context_line":"  command: \u003e"},{"line_number":24,"context_line":"    mysql --silent --skip-column-names --connect-timeout\u003d10 -e \u0027SHOW STATUS LIKE \"wsrep_local_state\";\u0027"},{"line_number":25,"context_line":"  failed_when: false"},{"line_number":26,"context_line":"  changed_when: true"},{"line_number":27,"context_line":"  register: node_status"},{"line_number":28,"context_line":"  listen: Restart all mysql"},{"line_number":29,"context_line":"  notify:"},{"line_number":30,"context_line":"    - Bootstrap cluster"},{"line_number":31,"context_line":"    - Restart mysql (All)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"- name: Check if node is in the cluster"},{"line_number":34,"context_line":"  command: \u003e"},{"line_number":35,"context_line":"    mysql --silent --skip-column-names --connect-timeout\u003d10 -e \u0027SHOW STATUS LIKE \"wsrep_incoming_addresses\";\u0027"},{"line_number":36,"context_line":"  failed_when: false"},{"line_number":37,"context_line":"  changed_when: false"},{"line_number":38,"context_line":"  register: incoming_addresses"},{"line_number":39,"context_line":"  listen: Bootstrap cluster"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"- name: Set incoming addresses fact (primary)"},{"line_number":42,"context_line":"  set_fact:"}],"source_content_type":"text/x-yaml","patch_set":23,"id":"ff82abbf_30f9ea7f","line":39,"range":{"start_line":22,"start_character":0,"end_line":39,"end_character":27},"in_reply_to":"ff82abbf_710462c7","updated":"2017-11-20 15:34:37.000000000","message":"We could certainly try that module however I\u0027d rather not, at least not here. The MySQL command(s) within this change all have a specific purpose and while it might be nice to use module I\u0027d rather not have to deal with that in this PR.","commit_id":"784372e1ee6f4e81b3be437cbb74a1655d70d3d6"}],"tasks/galera_bootstrap.yml":[{"author":{"_account_id":14119,"name":"Sam Yaple","email":"sam+git@yaple.net","username":"SamYaple"},"change_message_id":"ff56e2791a892d0cff465b7a6b44adcc7d439971","unresolved":false,"context_lines":[{"line_number":38,"context_line":"      lineinfile:"},{"line_number":39,"context_line":"        line: \u0027wsrep-new-cluster\u0027"},{"line_number":40,"context_line":"        insertafter: \u0027wsrep_cluster_name\u0027"},{"line_number":41,"context_line":"        state: present"},{"line_number":42,"context_line":"        dest: \"{{ galera_etc_include_dir }}/cluster.cnf\""},{"line_number":43,"context_line":"      when:"},{"line_number":44,"context_line":"        # galera_new_cluster is not applicable for SUSE"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7f515b1d_5a978ced","line":41,"updated":"2017-09-27 19:29:51.000000000","message":"I worry about setting this in the config. If someone restarted the container with this line in the config outside of an ansible run it will split-brain the cluster and possible lead to data loss because both sides will end up with \"quorum\" (the node with this in it will start up and be able to accept reads and writes)","commit_id":"66045711e6b48381a3eb46a9d47771f6e4119004"},{"author":{"_account_id":14119,"name":"Sam Yaple","email":"sam+git@yaple.net","username":"SamYaple"},"change_message_id":"ff56e2791a892d0cff465b7a6b44adcc7d439971","unresolved":false,"context_lines":[{"line_number":41,"context_line":"        state: present"},{"line_number":42,"context_line":"        dest: \"{{ galera_etc_include_dir }}/cluster.cnf\""},{"line_number":43,"context_line":"      when:"},{"line_number":44,"context_line":"        # galera_new_cluster is not applicable for SUSE"},{"line_number":45,"context_line":"        - ansible_pkg_mgr !\u003d \u0027zypper\u0027"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"- name: Wait for operational state"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7f515b1d_9a9064ef","line":44,"updated":"2017-09-27 19:29:51.000000000","message":"im assuming this when conditional will get filled in later.","commit_id":"66045711e6b48381a3eb46a9d47771f6e4119004"}],"tasks/galera_install_apt.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"a152eb589de326f0c7f04d722ae5fd95d44ac5cc","unresolved":false,"context_lines":[{"line_number":107,"context_line":"    state: absent"},{"line_number":108,"context_line":"  changed_when: false"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"- name: fix mysql startup timeout"},{"line_number":111,"context_line":"  lineinfile:"},{"line_number":112,"context_line":"    dest: /etc/init.d/mysql"},{"line_number":113,"context_line":"    state: present"},{"line_number":114,"context_line":"    insertafter: \u0027^export HOME\u003d/etc/mysql/\u0027"},{"line_number":115,"context_line":"    line: \u0027[ -r /etc/default/mariadb ] \u0026\u0026 . /etc/default/mariadb\u0027"},{"line_number":116,"context_line":"    backup: yes"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"1f485f77_f6129761","line":116,"range":{"start_line":110,"start_character":0,"end_line":116,"end_character":15},"updated":"2017-11-18 14:09:03.000000000","message":"This came from tasks/galera_post_install.yml which also had the comment that this was not required for MariaDB-10.1. Either we should retain/update the comment, or this task is not required.","commit_id":"3645ffca61223674c4209ed4ae5139b7979c23b2"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"565cfdf7963c51337b4fca8e731a2f07a2acf6ca","unresolved":false,"context_lines":[{"line_number":107,"context_line":"    state: absent"},{"line_number":108,"context_line":"  changed_when: false"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"- name: fix mysql startup timeout"},{"line_number":111,"context_line":"  lineinfile:"},{"line_number":112,"context_line":"    dest: /etc/init.d/mysql"},{"line_number":113,"context_line":"    state: present"},{"line_number":114,"context_line":"    insertafter: \u0027^export HOME\u003d/etc/mysql/\u0027"},{"line_number":115,"context_line":"    line: \u0027[ -r /etc/default/mariadb ] \u0026\u0026 . /etc/default/mariadb\u0027"},{"line_number":116,"context_line":"    backup: yes"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"1f485f77_d99a2c60","line":116,"range":{"start_line":110,"start_character":0,"end_line":116,"end_character":15},"in_reply_to":"1f485f77_f6129761","updated":"2017-11-18 15:38:19.000000000","message":"Done","commit_id":"3645ffca61223674c4209ed4ae5139b7979c23b2"}],"tasks/galera_secure_mysql.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"a152eb589de326f0c7f04d722ae5fd95d44ac5cc","unresolved":false,"context_lines":[{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# NOTE(cloudnull): This is an idempotent shell task is it will only run once"},{"line_number":17,"context_line":"#  provided the \"/etc/mysql/rhel_configured\" exists. This tasks automates the"},{"line_number":18,"context_line":"#  MySQL secure setup which is done automatically in Ubuntu deployments."},{"line_number":19,"context_line":"- name: \"Update root user, connections, and grant options\""},{"line_number":20,"context_line":"  shell: |"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"1f485f77_b6109f58","line":17,"range":{"start_line":17,"start_character":12,"end_line":17,"end_character":44},"updated":"2017-11-18 14:09:03.000000000","message":"the file defined in the variable \u0027mysql_securely_configured\u0027\n\nThere\u0027s no var set for mysql_securely_configured for the ubuntu distro, so that needs to be added.","commit_id":"3645ffca61223674c4209ed4ae5139b7979c23b2"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"3b1da80f41ded52f20f9d9cd280638e69b3e2f46","unresolved":false,"context_lines":[{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# NOTE(cloudnull): This is an idempotent shell task is it will only run once"},{"line_number":17,"context_line":"#  provided the \"/etc/mysql/rhel_configured\" exists. This tasks automates the"},{"line_number":18,"context_line":"#  MySQL secure setup which is done automatically in Ubuntu deployments."},{"line_number":19,"context_line":"- name: \"Update root user, connections, and grant options\""},{"line_number":20,"context_line":"  shell: |"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"1f485f77_993cb42f","line":17,"range":{"start_line":17,"start_character":12,"end_line":17,"end_character":44},"in_reply_to":"1f485f77_79769840","updated":"2017-11-18 16:05:26.000000000","message":"Ah, no need for ubuntu then -but obviously the var still needs to be defined for the others.","commit_id":"3645ffca61223674c4209ed4ae5139b7979c23b2"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"77a2698131df1c10b42a496ae90b08044d86c11c","unresolved":false,"context_lines":[{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# NOTE(cloudnull): This is an idempotent shell task is it will only run once"},{"line_number":17,"context_line":"#  provided the \"/etc/mysql/rhel_configured\" exists. This tasks automates the"},{"line_number":18,"context_line":"#  MySQL secure setup which is done automatically in Ubuntu deployments."},{"line_number":19,"context_line":"- name: \"Update root user, connections, and grant options\""},{"line_number":20,"context_line":"  shell: |"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"1f485f77_05c29759","line":17,"range":{"start_line":17,"start_character":12,"end_line":17,"end_character":44},"in_reply_to":"1f485f77_993cb42f","updated":"2017-11-19 01:46:05.000000000","message":"Done","commit_id":"3645ffca61223674c4209ed4ae5139b7979c23b2"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"565cfdf7963c51337b4fca8e731a2f07a2acf6ca","unresolved":false,"context_lines":[{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# NOTE(cloudnull): This is an idempotent shell task is it will only run once"},{"line_number":17,"context_line":"#  provided the \"/etc/mysql/rhel_configured\" exists. This tasks automates the"},{"line_number":18,"context_line":"#  MySQL secure setup which is done automatically in Ubuntu deployments."},{"line_number":19,"context_line":"- name: \"Update root user, connections, and grant options\""},{"line_number":20,"context_line":"  shell: |"}],"source_content_type":"text/x-yaml","patch_set":18,"id":"1f485f77_79769840","line":17,"range":{"start_line":17,"start_character":12,"end_line":17,"end_character":44},"in_reply_to":"1f485f77_b6109f58","updated":"2017-11-18 15:38:19.000000000","message":"This is only executed for SUSE and RHEL distros, Ubuntu does all of this automatically. We could however add this to Ubuntu based distros if you think it best.","commit_id":"3645ffca61223674c4209ed4ae5139b7979c23b2"}],"tasks/galera_upgrade_check_apt.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"9f516088e3c2d9008a985248c5507142bc17b4df","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- name: Check major galera install version"},{"line_number":17,"context_line":"  command: \"dpkg -s {{ galera_mariadb_server_package }}\""},{"line_number":18,"context_line":"  args:"},{"line_number":19,"context_line":"    warn: no"},{"line_number":20,"context_line":"  failed_when: false"},{"line_number":21,"context_line":"  changed_when: false"},{"line_number":22,"context_line":"  register: installed_galera_specific"},{"line_number":23,"context_line":"  tags:"},{"line_number":24,"context_line":"    - skip_ansible_lint"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"- name: Check for any galera install version"},{"line_number":27,"context_line":"  shell: |"},{"line_number":28,"context_line":"    dpkg --get-selections | grep mariadb-galera-server"},{"line_number":29,"context_line":"  args:"},{"line_number":30,"context_line":"    warn: no"},{"line_number":31,"context_line":"  failed_when: false"},{"line_number":32,"context_line":"  changed_when: false"},{"line_number":33,"context_line":"  register: installed_galera_any"},{"line_number":34,"context_line":"  when:"},{"line_number":35,"context_line":"    - installed_galera_specific.rc !\u003d 0"},{"line_number":36,"context_line":"  tags:"},{"line_number":37,"context_line":"    - skip_ansible_lint"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"- name: Check if major version of Galera is installed"},{"line_number":40,"context_line":"  fail:"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f485f77_10aaea83","line":37,"range":{"start_line":16,"start_character":0,"end_line":37,"end_character":23},"updated":"2017-11-17 13:51:02.000000000","message":"Instead of doing this, why don\u0027t we use mysqladmin/mysql to get the version from the running system? If it\u0027s not running, then we may as well allow the upgrade.","commit_id":"1388958cd32c946f825c7e95de4a52f56acffba1"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"51ffacc5e4e3e684095836a0071d9b273885e52e","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- name: Check major galera install version"},{"line_number":17,"context_line":"  command: \"dpkg -s {{ galera_mariadb_server_package }}\""},{"line_number":18,"context_line":"  args:"},{"line_number":19,"context_line":"    warn: no"},{"line_number":20,"context_line":"  failed_when: false"},{"line_number":21,"context_line":"  changed_when: false"},{"line_number":22,"context_line":"  register: installed_galera_specific"},{"line_number":23,"context_line":"  tags:"},{"line_number":24,"context_line":"    - skip_ansible_lint"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"- name: Check for any galera install version"},{"line_number":27,"context_line":"  shell: |"},{"line_number":28,"context_line":"    dpkg --get-selections | grep mariadb-galera-server"},{"line_number":29,"context_line":"  args:"},{"line_number":30,"context_line":"    warn: no"},{"line_number":31,"context_line":"  failed_when: false"},{"line_number":32,"context_line":"  changed_when: false"},{"line_number":33,"context_line":"  register: installed_galera_any"},{"line_number":34,"context_line":"  when:"},{"line_number":35,"context_line":"    - installed_galera_specific.rc !\u003d 0"},{"line_number":36,"context_line":"  tags:"},{"line_number":37,"context_line":"    - skip_ansible_lint"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"- name: Check if major version of Galera is installed"},{"line_number":40,"context_line":"  fail:"}],"source_content_type":"text/x-yaml","patch_set":13,"id":"1f485f77_5d799691","line":37,"range":{"start_line":16,"start_character":0,"end_line":37,"end_character":23},"in_reply_to":"1f485f77_10aaea83","updated":"2017-11-17 16:20:49.000000000","message":"Done","commit_id":"1388958cd32c946f825c7e95de4a52f56acffba1"}],"tasks/main.yml":[{"author":{"_account_id":14119,"name":"Sam Yaple","email":"sam+git@yaple.net","username":"SamYaple"},"change_message_id":"ff56e2791a892d0cff465b7a6b44adcc7d439971","unresolved":false,"context_lines":[{"line_number":63,"context_line":"- include: galera_bootstrap.yml"},{"line_number":64,"context_line":"  when:"},{"line_number":65,"context_line":"    - inventory_hostname \u003d\u003d galera_server_bootstrap_node"},{"line_number":66,"context_line":"    - ansible_local[\u0027mariadb\u0027][\u0027rc\u0027] !\u003d 0"},{"line_number":67,"context_line":"  tags:"},{"line_number":68,"context_line":"    - galera_server-config"},{"line_number":69,"context_line":"    - galera-bootstrap"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7f515b1d_da781cc5","line":66,"updated":"2017-09-27 19:29:51.000000000","message":"is this playbook run serially? otherwise from a full cluster down on all nodes this code reads as if all nodes will come up as thier own cluster.","commit_id":"66045711e6b48381a3eb46a9d47771f6e4119004"}],"tox.ini":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"a152eb589de326f0c7f04d722ae5fd95d44ac5cc","unresolved":false,"context_lines":[{"line_number":118,"context_line":"    {[testenv:ansible]deps}"},{"line_number":119,"context_line":"setenv \u003d"},{"line_number":120,"context_line":"    {[testenv]setenv}"},{"line_number":121,"context_line":"    ANSIBLE_PARAMETERS\u003d-vvv -e \u0027galera_use_ssl\u003dtrue\u0027"},{"line_number":122,"context_line":"commands \u003d"},{"line_number":123,"context_line":"    bash -c \"{toxinidir}/tests/tests-repo-clone.sh\""},{"line_number":124,"context_line":"    bash -c \"{toxinidir}/tests/common/test-ansible-functional.sh\""}],"source_content_type":"text/x-properties","patch_set":18,"id":"1f485f77_59b2bc4a","line":121,"range":{"start_line":121,"start_character":31,"end_line":121,"end_character":52},"updated":"2017-11-18 14:09:03.000000000","message":"no need to quote this - in fact it\u0027s better if you don\u0027t","commit_id":"3645ffca61223674c4209ed4ae5139b7979c23b2"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"565cfdf7963c51337b4fca8e731a2f07a2acf6ca","unresolved":false,"context_lines":[{"line_number":118,"context_line":"    {[testenv:ansible]deps}"},{"line_number":119,"context_line":"setenv \u003d"},{"line_number":120,"context_line":"    {[testenv]setenv}"},{"line_number":121,"context_line":"    ANSIBLE_PARAMETERS\u003d-vvv -e \u0027galera_use_ssl\u003dtrue\u0027"},{"line_number":122,"context_line":"commands \u003d"},{"line_number":123,"context_line":"    bash -c \"{toxinidir}/tests/tests-repo-clone.sh\""},{"line_number":124,"context_line":"    bash -c \"{toxinidir}/tests/common/test-ansible-functional.sh\""}],"source_content_type":"text/x-properties","patch_set":18,"id":"1f485f77_f98288ff","line":121,"range":{"start_line":121,"start_character":31,"end_line":121,"end_character":52},"in_reply_to":"1f485f77_59b2bc4a","updated":"2017-11-18 15:38:19.000000000","message":"Done","commit_id":"3645ffca61223674c4209ed4ae5139b7979c23b2"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"fed889f343061ca1da56813055458f48875e4ec3","unresolved":false,"context_lines":[{"line_number":118,"context_line":"    {[testenv:ansible]deps}"},{"line_number":119,"context_line":"setenv \u003d"},{"line_number":120,"context_line":"    {[testenv]setenv}"},{"line_number":121,"context_line":"    ANSIBLE_PARAMETERS\u003d-vvv -e galera_use_ssl\u003dtrue"},{"line_number":122,"context_line":"commands \u003d"},{"line_number":123,"context_line":"    bash -c \"{toxinidir}/tests/tests-repo-clone.sh\""},{"line_number":124,"context_line":"    bash -c \"{toxinidir}/tests/common/test-ansible-functional.sh\""}],"source_content_type":"text/x-properties","patch_set":19,"id":"1f485f77_191a04cb","line":121,"range":{"start_line":121,"start_character":46,"end_line":121,"end_character":47},"updated":"2017-11-18 16:10:02.000000000","message":"I think this might need to be a capital T, but that probably is exposing that the use of the var isn\u0027t properly using a | bool to convert the variations.","commit_id":"bfefd7406f8a9d5b338d7ad6dacd5bc8eec6844e"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"77a2698131df1c10b42a496ae90b08044d86c11c","unresolved":false,"context_lines":[{"line_number":118,"context_line":"    {[testenv:ansible]deps}"},{"line_number":119,"context_line":"setenv \u003d"},{"line_number":120,"context_line":"    {[testenv]setenv}"},{"line_number":121,"context_line":"    ANSIBLE_PARAMETERS\u003d-vvv -e galera_use_ssl\u003dtrue"},{"line_number":122,"context_line":"commands \u003d"},{"line_number":123,"context_line":"    bash -c \"{toxinidir}/tests/tests-repo-clone.sh\""},{"line_number":124,"context_line":"    bash -c \"{toxinidir}/tests/common/test-ansible-functional.sh\""}],"source_content_type":"text/x-properties","patch_set":19,"id":"1f485f77_a5a503a4","line":121,"range":{"start_line":121,"start_character":46,"end_line":121,"end_character":47},"in_reply_to":"1f485f77_191a04cb","updated":"2017-11-19 01:46:05.000000000","message":"Done","commit_id":"bfefd7406f8a9d5b338d7ad6dacd5bc8eec6844e"}]}
