)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"de7b9f417fb2dc7605b84235c155239083e04446","unresolved":false,"context_lines":[{"line_number":43,"context_line":"keepalived_(ext|int)ernal_interface"},{"line_number":44,"context_line":"(to know which interface the vips can bind on)"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Change-Id: Ib87a3bb70d6f4b7ac9356e8a28fe4b5936eb9334"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"da20952f_bbdb454e","line":46,"updated":"2015-09-01 08:45:15.000000000","message":"Closes-Bug: #1414397","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7217,"name":"Hugh Saunders","email":"hugh@wherenow.org","username":"hughsaunders"},"change_message_id":"35ea6390961c64d2f2b4ab4293ab727fb220d565","unresolved":false,"context_lines":[{"line_number":40,"context_line":"In these variables, only the following variables"},{"line_number":41,"context_line":"are necessary: keepalived_(ext|int)ernal_interface"},{"line_number":42,"context_line":"However, it\u0027s recommended to also configure the"},{"line_number":43,"context_line":"keepalived_(ext|int)ernal_interface"},{"line_number":44,"context_line":"(to know which interface the vips can bind on)"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Closes-Bug: 1414397"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"da20952f_2f53266e","line":43,"updated":"2015-09-09 12:01:18.000000000","message":"this is the same as on line 41?","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"dd0895121e072d37dd29761944b59ae211911f77","unresolved":false,"context_lines":[{"line_number":40,"context_line":"In these variables, only the following variables"},{"line_number":41,"context_line":"are necessary: keepalived_(ext|int)ernal_interface"},{"line_number":42,"context_line":"However, it\u0027s recommended to also configure the"},{"line_number":43,"context_line":"keepalived_(ext|int)ernal_interface"},{"line_number":44,"context_line":"(to know which interface the vips can bind on)"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"Closes-Bug: 1414397"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"da20952f_c0d25434","line":43,"in_reply_to":"da20952f_2f53266e","updated":"2015-09-10 08:35:21.000000000","message":"My bad, line 41 should be the ext/internal vip cidr.","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"}],"doc/source/install-guide/configure-haproxy.rst":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"cf5324c7c95133cd64a1b8689ab078e6931c4c61","unresolved":false,"context_lines":[{"line_number":65,"context_line":"environment. Please refer to the ``user_variables.yml``"},{"line_number":66,"context_line":"for more descriptions."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"All the variables mentionned here before are used in the variable"},{"line_number":69,"context_line":"files ``vars/configs/keepalived_haproxy_master.yml`` and"},{"line_number":70,"context_line":"``vars/configs/keepalived_haproxy_backup.yml`` to feed the"},{"line_number":71,"context_line":"keepalived role. More information can be found on the keepalived"}],"source_content_type":"text/x-rst","patch_set":18,"id":"9a1a9d01_5480c18a","line":68,"updated":"2015-09-30 21:02:24.000000000","message":"nit: mentioned","commit_id":"63082781525255c217c1737ff6fb18b43ffb9d18"}],"etc/openstack_deploy/env.d/keepalived.yml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"# Copyright 2014, Rackspace US, Inc."},{"line_number":3,"context_line":"# #"},{"line_number":4,"context_line":"# # Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":5,"context_line":"# # you may not use this file except in compliance with the License."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_edea72da","line":2,"range":{"start_line":2,"start_character":12,"end_line":2,"end_character":16},"updated":"2015-09-01 00:06:10.000000000","message":"Nit 2015 also its likely that the company license header needs to be changed; that is if the name sake is something that you\u0027d like to have referenced.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7217,"name":"Hugh Saunders","email":"hugh@wherenow.org","username":"hughsaunders"},"change_message_id":"35ea6390961c64d2f2b4ab4293ab727fb220d565","unresolved":false,"context_lines":[{"line_number":20,"context_line":"      - keepalived_all"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"container_skel:"},{"line_number":23,"context_line":"  keepalived_container:"},{"line_number":24,"context_line":"    belongs_to:"},{"line_number":25,"context_line":"      # This is a group of containers mapped to a physical host."},{"line_number":26,"context_line":"      - keepalived_containers"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"da20952f_426431e4","line":23,"updated":"2015-09-09 12:01:18.000000000","message":"Should this be a haproxy container, rather than keepalived container? Haproxy seems to be the \"main\" service running within the container.","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"dd0895121e072d37dd29761944b59ae211911f77","unresolved":false,"context_lines":[{"line_number":20,"context_line":"      - keepalived_all"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"container_skel:"},{"line_number":23,"context_line":"  keepalived_container:"},{"line_number":24,"context_line":"    belongs_to:"},{"line_number":25,"context_line":"      # This is a group of containers mapped to a physical host."},{"line_number":26,"context_line":"      - keepalived_containers"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"da20952f_e02e7841","line":23,"in_reply_to":"da20952f_426431e4","updated":"2015-09-10 08:35:21.000000000","message":"I was strongly hesitating between the two.\n\nIf we keep it that way, we could use keepalived for other purposes than haproxy. I doubt there will be a lot of uses cases, which makes your comment legit. The is_metal: true helps us here, but it doesn\u0027t respect the original idea of is_metal, IMHO.\n\nI was against the addition of a new keepalived component inside existing services (in env.d) like neutron/haproxy to have the less impact possible on the inventory.\n\nI\u0027m ready to have a discussion about it on next meeting.","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"}],"etc/openstack_deploy/user_variables.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"9ff539e692c676242aa49f12182914149336011a","unresolved":false,"context_lines":[{"line_number":158,"context_line":"## Keepalived configuration"},{"line_number":159,"context_line":"# First you should define the vip network by overwriting this:"},{"line_number":160,"context_line":"# There is a large chance the /32 will not work on production env\""},{"line_number":161,"context_line":"keepalived_external_vip_cidr: \"{{external_lb_vip_address}}/32\""},{"line_number":162,"context_line":"keepalived_internal_vip_cidr: \"{{internal_lb_vip_address}}/32\""},{"line_number":163,"context_line":"# Defines the interface where the external vip will bind. Defaults to management_bridge"},{"line_number":164,"context_line":"#keepalived_external_interface:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_701f315b","line":161,"updated":"2015-08-31 15:20:40.000000000","message":"This could be done differently, if we add the netmask in the global_overrides or container parameters for example.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"9ff539e692c676242aa49f12182914149336011a","unresolved":false,"context_lines":[{"line_number":161,"context_line":"keepalived_external_vip_cidr: \"{{external_lb_vip_address}}/32\""},{"line_number":162,"context_line":"keepalived_internal_vip_cidr: \"{{internal_lb_vip_address}}/32\""},{"line_number":163,"context_line":"# Defines the interface where the external vip will bind. Defaults to management_bridge"},{"line_number":164,"context_line":"#keepalived_external_interface:"},{"line_number":165,"context_line":"# Defines the interface where the internal vip will bind. Defaults to management_bridge"},{"line_number":166,"context_line":"#keepalived_internal_interface:"},{"line_number":167,"context_line":"# Defines the default VRRP id. Overwrite it to your value to make sure you don\u0027t overlap"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_105d9514","line":164,"updated":"2015-08-31 15:20:40.000000000","message":"Shouldn\u0027t there in the global_overrides something like public_api bridge?","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":161,"context_line":"keepalived_external_vip_cidr: \"{{external_lb_vip_address}}/32\""},{"line_number":162,"context_line":"keepalived_internal_vip_cidr: \"{{internal_lb_vip_address}}/32\""},{"line_number":163,"context_line":"# Defines the interface where the external vip will bind. Defaults to management_bridge"},{"line_number":164,"context_line":"#keepalived_external_interface:"},{"line_number":165,"context_line":"# Defines the interface where the internal vip will bind. Defaults to management_bridge"},{"line_number":166,"context_line":"#keepalived_internal_interface:"},{"line_number":167,"context_line":"# Defines the default VRRP id. Overwrite it to your value to make sure you don\u0027t overlap"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_6d8bc21f","line":164,"in_reply_to":"da20952f_105d9514","updated":"2015-09-01 00:06:10.000000000","message":"In thinking about the purpose here I\u0027d be inclined to say that the general use case will be with a deployer running haproxy as their loadbalancer instead of a specific hardware appliance. With that said, it makes sense to me that the variables specified would pertain to that use case. It would make sense to me to set this variable accordingly:\n\nkeepalived_external_interface: \"{{external_lb_vip_address}}/32\"","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bf8df4dc087f9b40de83625143cf486761070396","unresolved":false,"context_lines":[{"line_number":161,"context_line":"keepalived_external_vip_cidr: \"{{external_lb_vip_address}}/32\""},{"line_number":162,"context_line":"keepalived_internal_vip_cidr: \"{{internal_lb_vip_address}}/32\""},{"line_number":163,"context_line":"# Defines the interface where the external vip will bind. Defaults to management_bridge"},{"line_number":164,"context_line":"#keepalived_external_interface:"},{"line_number":165,"context_line":"# Defines the interface where the internal vip will bind. Defaults to management_bridge"},{"line_number":166,"context_line":"#keepalived_internal_interface:"},{"line_number":167,"context_line":"# Defines the default VRRP id. Overwrite it to your value to make sure you don\u0027t overlap"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_8552a133","line":164,"in_reply_to":"da20952f_6d8bc21f","updated":"2015-09-01 09:38:24.000000000","message":"The interface is not an IP, it\u0027s an interface (like a bridge). As management_bridge already exists (it points for example to br-mgmt in the reference implementation), it could make sense to  define also a public_api_bridge: in global_overrides.\n\nWe could then reuse the public_api_bridge for other cases (if any). In the inventory/all we would just have to do the cross role checking, bu setting keepalived_external_interface: \"{{public_api_bridge}}\"\n\nIt\u0027s not required to be in global_overrides though.\nThe other solution would be to put these variables only in the conf.g/keepalived.yml","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"}],"playbooks/keepalived-install.yml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_8d2e558a","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"100284e1d080ed57b2cd8fbbb09bd261c2102977","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  vars_files:"},{"line_number":4,"context_line":"    - vars/configs/keepalived_haproxy_master.yml"},{"line_number":5,"context_line":"  roles:"},{"line_number":6,"context_line":"    - keepalived"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"- hosts: keepalived_hosts:!keepalived_hosts[0]"},{"line_number":9,"context_line":"  vars_files:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_9028c534","line":6,"updated":"2015-08-31 15:23:01.000000000","message":"we could maybe add variable like keepalived_state: master/backup here, and use a generic var_files for keepalived_haproxy.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"}],"playbooks/roles/keepalived/README.md":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_ad3d59c5","updated":"2015-09-01 00:06:10.000000000","message":"NIT: All of our other readme files have been created in Restructured Text. As such, i\u0027d like to see this one in that format as well however as referenced, it\u0027s a bit of a nit pick.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bf8df4dc087f9b40de83625143cf486761070396","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_65050d12","in_reply_to":"da20952f_ad3d59c5","updated":"2015-09-01 09:38:24.000000000","message":"This is a standard README.md from ansible galaxy (the role itself is in galaxy). Do you want me to update the upstream role to move to RST?\n\nIt\u0027s some questions that will be asked in the future when splitting of the roles happen.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"}],"playbooks/roles/keepalived/defaults/main.yml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_edd4b2ec","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"}],"playbooks/roles/keepalived/files/keepalived_notifications.sh":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_6de0a2cd","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"change_message_id":"e45f59b8cc96436d3428d0e8cfe9a7d075689d15","unresolved":false,"context_lines":[{"line_number":18,"context_line":"NEWSTATE\u003d$3"},{"line_number":19,"context_line":"OLDSTATE\u003d$(cat /var/run/keepalived.state)"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"echo \"Changed state from (probably) $OLDSTATE to $NEWSTATE\" \u003e\u003e /var/log/keepalived-states.log"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"echo \"$NEWSTATE\" \u003e /var/run/keepalived.state"},{"line_number":24,"context_line":""}],"source_content_type":"text/x-sh","patch_set":5,"id":"da20952f_565633cf","line":21,"updated":"2015-09-09 13:42:44.000000000","message":"maybe date can be inserted here so we know when changes occurs","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"dd0895121e072d37dd29761944b59ae211911f77","unresolved":false,"context_lines":[{"line_number":18,"context_line":"NEWSTATE\u003d$3"},{"line_number":19,"context_line":"OLDSTATE\u003d$(cat /var/run/keepalived.state)"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"echo \"Changed state from (probably) $OLDSTATE to $NEWSTATE\" \u003e\u003e /var/log/keepalived-states.log"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"echo \"$NEWSTATE\" \u003e /var/run/keepalived.state"},{"line_number":24,"context_line":""}],"source_content_type":"text/x-sh","patch_set":5,"id":"da20952f_60e26803","line":21,"in_reply_to":"da20952f_565633cf","updated":"2015-09-10 08:35:21.000000000","message":"Keeping a standard log format would be even better. I agree with this.","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"},{"author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"change_message_id":"e45f59b8cc96436d3428d0e8cfe9a7d075689d15","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"echo \"$NEWSTATE\" \u003e /var/run/keepalived.state"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"if [ \"$OLDSTATE\" -ne \"FAULT\" ]"},{"line_number":26,"context_line":"case $NEWSTATE in"},{"line_number":27,"context_line":"        \"MASTER\") service haproxy start"},{"line_number":28,"context_line":"                  exit 0"}],"source_content_type":"text/x-sh","patch_set":5,"id":"da20952f_b661cfaa","line":25,"updated":"2015-09-09 13:42:44.000000000","message":"-ne is used to compare integer, should use !\u003d to compare strings.\n\nif needs then\n\nif [] ; then","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"dd0895121e072d37dd29761944b59ae211911f77","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"echo \"$NEWSTATE\" \u003e /var/run/keepalived.state"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"if [ \"$OLDSTATE\" -ne \"FAULT\" ]"},{"line_number":26,"context_line":"case $NEWSTATE in"},{"line_number":27,"context_line":"        \"MASTER\") service haproxy start"},{"line_number":28,"context_line":"                  exit 0"}],"source_content_type":"text/x-sh","patch_set":5,"id":"da20952f_20c31059","line":25,"in_reply_to":"da20952f_b661cfaa","updated":"2015-09-10 08:35:21.000000000","message":"I\u0027ll add it in next patchset.","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"},{"author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"change_message_id":"e45f59b8cc96436d3428d0e8cfe9a7d075689d15","unresolved":false,"context_lines":[{"line_number":40,"context_line":"esac"},{"line_number":41,"context_line":"else"},{"line_number":42,"context_line":"#If something was faulty, try to get standard behaviour first."},{"line_number":43,"context_line":"echo \"This could happen if your keepalived process ungracefully fails\" \u003e\u003e /var/log/keepalived-states.log"},{"line_number":44,"context_line":"case $NEWSTATE in"},{"line_number":45,"context_line":"        \"MASTER\") service haproxy start"},{"line_number":46,"context_line":"           service keepalived restart"}],"source_content_type":"text/x-sh","patch_set":5,"id":"da20952f_f66747b5","line":43,"updated":"2015-09-09 13:42:44.000000000","message":"date here as well,\n\nsome alignment can be nice ;)","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"dd0895121e072d37dd29761944b59ae211911f77","unresolved":false,"context_lines":[{"line_number":40,"context_line":"esac"},{"line_number":41,"context_line":"else"},{"line_number":42,"context_line":"#If something was faulty, try to get standard behaviour first."},{"line_number":43,"context_line":"echo \"This could happen if your keepalived process ungracefully fails\" \u003e\u003e /var/log/keepalived-states.log"},{"line_number":44,"context_line":"case $NEWSTATE in"},{"line_number":45,"context_line":"        \"MASTER\") service haproxy start"},{"line_number":46,"context_line":"           service keepalived restart"}],"source_content_type":"text/x-sh","patch_set":5,"id":"da20952f_03b9362e","line":43,"in_reply_to":"da20952f_f66747b5","updated":"2015-09-10 08:35:21.000000000","message":"I think this notification script requires a rewrite.\n\nIt\u0027s far more complex than what it should be.\nIt suits my use case, but doesn\u0027t suit the \"standard\" one, so I don\u0027t think this should be upstreamed.\n\nMoreover, the haproxy stop is a bad idea.\nWe could:\n- Not stop haproxy, and avoid any action on switching to backup/master. That\u0027s the most elegant solution.\n- Not stop haproxy, and reducing/increasing the amount of backends when switching to backup/master. That\u0027s a more complex solution but it reduces the unnecessary logs that happen when a backup haproxy queries its backend uselessly.\n\nIn addition, the fault state could result of a restart of the services.","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"}],"playbooks/roles/keepalived/handlers/main.yml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_2de62ae8","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"}],"playbooks/roles/keepalived/meta/.galaxy_install_info":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_adda3a15","updated":"2015-09-01 00:06:10.000000000","message":"I think this file was carried over in the PR in error and should be otherwise removed.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"}],"playbooks/roles/keepalived/meta/main.yml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_adf1da96","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header. \n\nAlso the comment items in the file should be simplified to only the valid meta entries. IE: https://github.com/stackforge/os-ansible-deployment/blob/master/playbooks/roles/galera_server/meta/main.yml","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"}],"playbooks/roles/keepalived/tasks/main.yml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_2d34ea47","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header\n\nBeing that the copy module has been used repeatedly to drop the various files I\u0027d like to see this done in one task using a \"with_items\" list this would make it stylistically similar to what we\u0027ve done in our various other roles. example: https://github.com/stackforge/os-ansible-deployment/blob/master/playbooks/roles/os_keystone/tasks/keystone_post_install.yml#L30-L45","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bf8df4dc087f9b40de83625143cf486761070396","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_c03f27b2","in_reply_to":"da20952f_2d34ea47","updated":"2015-09-01 09:38:24.000000000","message":"IIRC, the with_items doesn\u0027t work anymore with the \"when\" clause in ansible 1.9.\nIt should be reintroduced in ansible2.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":20,"context_line":"  copy:"},{"line_number":21,"context_line":"    src: \"{{item.value.src_check_script}}\""},{"line_number":22,"context_line":"    dest: \"{{item.value.check_script}}\""},{"line_number":23,"context_line":"    mode: 0755"},{"line_number":24,"context_line":"  with_dict: \"{{keepalived_scripts | default(\u0027{}\u0027)}}\""},{"line_number":25,"context_line":"  when: item.value.src_check_script is defined"},{"line_number":26,"context_line":"  notify:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_8d7f36df","line":23,"updated":"2015-09-01 00:06:10.000000000","message":"Double quote the octal string as its bit us in the past with it not being processed cleanly.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bf8df4dc087f9b40de83625143cf486761070396","unresolved":false,"context_lines":[{"line_number":20,"context_line":"  copy:"},{"line_number":21,"context_line":"    src: \"{{item.value.src_check_script}}\""},{"line_number":22,"context_line":"    dest: \"{{item.value.check_script}}\""},{"line_number":23,"context_line":"    mode: 0755"},{"line_number":24,"context_line":"  with_dict: \"{{keepalived_scripts | default(\u0027{}\u0027)}}\""},{"line_number":25,"context_line":"  when: item.value.src_check_script is defined"},{"line_number":26,"context_line":"  notify:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_3e4ac355","line":23,"in_reply_to":"da20952f_8d7f36df","updated":"2015-09-01 09:38:24.000000000","message":"According to the doc (and its examples), it shouldn\u0027t. But it needs a leading 0. (http://docs.ansible.com/ansible/copy_module.html)\n\nI\u0027ll do it in any case.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":30,"context_line":"  copy:"},{"line_number":31,"context_line":"    src: \"{{item.value.src_notify_script}}\""},{"line_number":32,"context_line":"    dest: \"{{item.value.notify_script}}\""},{"line_number":33,"context_line":"    mode: 0755"},{"line_number":34,"context_line":"  with_dict: \"{{keepalived_sync_groups}}\""},{"line_number":35,"context_line":"  when: item.value.src_notify_script is defined"},{"line_number":36,"context_line":"  notify:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_2d0b8a7e","line":33,"range":{"start_line":33,"start_character":10,"end_line":33,"end_character":14},"updated":"2015-09-01 00:06:10.000000000","message":"Double quote the octal string as its bit us in the past with it not being processed cleanly.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":40,"context_line":"  copy:"},{"line_number":41,"context_line":"    src: \"{{item.value.src_notify_master}}\""},{"line_number":42,"context_line":"    dest: \"{{item.value.notify_master}}\""},{"line_number":43,"context_line":"    mode: 0755"},{"line_number":44,"context_line":"  with_dict: \"{{keepalived_sync_groups}}\""},{"line_number":45,"context_line":"  when: item.value.src_notify_master is defined"},{"line_number":46,"context_line":"  notify:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_0d256607","line":43,"updated":"2015-09-01 00:06:10.000000000","message":"Double quote the octal string as its bit us in the past with it not being processed cleanly.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":50,"context_line":"  copy:"},{"line_number":51,"context_line":"    src: \"{{item.value.src_notify_backup}}\""},{"line_number":52,"context_line":"    dest: \"{{item.value.notify_backup}}\""},{"line_number":53,"context_line":"    mode: 0755"},{"line_number":54,"context_line":"  with_dict: \"{{keepalived_sync_groups}}\""},{"line_number":55,"context_line":"  when: item.value.src_notify_backup is defined"},{"line_number":56,"context_line":"  notify:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_ad1f9ab5","line":53,"updated":"2015-09-01 00:06:10.000000000","message":"Double quote the octal string as its bit us in the past with it not being processed cleanly.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":60,"context_line":"  copy:"},{"line_number":61,"context_line":"    src: \"{{item.value.src_notify_fault}}\""},{"line_number":62,"context_line":"    dest: \"{{item.value.notify_fault}}\""},{"line_number":63,"context_line":"    mode: 0755"},{"line_number":64,"context_line":"  with_dict: \"{{keepalived_sync_groups}}\""},{"line_number":65,"context_line":"  when: item.value.src_notify_fault is defined"},{"line_number":66,"context_line":"  notify:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_6d7c22ec","line":63,"updated":"2015-09-01 00:06:10.000000000","message":"Double quote the octal string as its bit us in the past with it not being processed cleanly.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"}],"playbooks/roles/keepalived/templates/keepalived.conf.j2":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_ad80fa8b","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"change_message_id":"e45f59b8cc96436d3428d0e8cfe9a7d075689d15","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2015, Jean-Philippe Evrard \u003cjean-philippe@evrard.me\u003e"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":4,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"text/x-jinja2","patch_set":5,"id":"da20952f_fb017007","line":1,"updated":"2015-09-09 13:42:44.000000000","message":"i would add this to make the output readable\n\n#jinja2: lstrip_blocks: True","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"dd0895121e072d37dd29761944b59ae211911f77","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2015, Jean-Philippe Evrard \u003cjean-philippe@evrard.me\u003e"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":4,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"text/x-jinja2","patch_set":5,"id":"da20952f_43964e95","line":1,"in_reply_to":"da20952f_fb017007","updated":"2015-09-10 08:35:21.000000000","message":"I\u0027ll add this.","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"}],"playbooks/roles/keepalived/vars/keepalived_haproxy_backup_example.yml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_cd7beebc","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    state: BACKUP"},{"line_number":51,"context_line":"    virtual_router_id: 10"},{"line_number":52,"context_line":"    priority: 20"},{"line_number":53,"context_line":"    authentication_password: \"{{ keepalived_authentication_password | default(\u0027secret\u0027) }}\""},{"line_number":54,"context_line":"    vips:"},{"line_number":55,"context_line":"      - \"{{keepalived_external_vip_cidr}} dev eth0\""},{"line_number":56,"context_line":"    # Optional Scripts for tracking the current status of the keepalived instance"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_ed059245","line":53,"updated":"2015-09-01 00:06:10.000000000","message":"While this is an example file instead of setting the password sting here as a variable with a known string I\u0027d like to see it removed and a note added to the role readme indicating that it has to be set for the role to work or a comment here to ensure that known strings are not used within a production deployment. Additionally if this is a password function that we need set we can add it to the `user_sercrets.yml` file so it can be generated accordingly.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bf8df4dc087f9b40de83625143cf486761070396","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    state: BACKUP"},{"line_number":51,"context_line":"    virtual_router_id: 10"},{"line_number":52,"context_line":"    priority: 20"},{"line_number":53,"context_line":"    authentication_password: \"{{ keepalived_authentication_password | default(\u0027secret\u0027) }}\""},{"line_number":54,"context_line":"    vips:"},{"line_number":55,"context_line":"      - \"{{keepalived_external_vip_cidr}} dev eth0\""},{"line_number":56,"context_line":"    # Optional Scripts for tracking the current status of the keepalived instance"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_fe144ba0","line":53,"in_reply_to":"da20952f_ed059245","updated":"2015-09-01 09:38:24.000000000","message":"It doesn\u0027t need to be set.\nIt\u0027s more secure if it\u0027s set, even to a default value.\n\nAs this is an example in the role, it\u0027s not really relevant, it\u0027s just for explaining stuff. Although more explanations would be useful. I noted it.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    state: BACKUP"},{"line_number":63,"context_line":"    virtual_router_id: 11"},{"line_number":64,"context_line":"    priority: 20"},{"line_number":65,"context_line":"    authentication_password: \"{{ keepalived_authentication_password | default(\u0027secret\u0027) }}\""},{"line_number":66,"context_line":"    # Optional Scripts for tracking the current status of the keepalived instance"},{"line_number":67,"context_line":"    #track_scripts:"},{"line_number":68,"context_line":"    #  - haproxy_check_script"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_0d01e637","line":65,"updated":"2015-09-01 00:06:10.000000000","message":"See comment on LN:53","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"}],"playbooks/roles/keepalived/vars/keepalived_haproxy_master_example.yml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_4d46fe7b","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    state: MASTER"},{"line_number":51,"context_line":"    virtual_router_id: 10"},{"line_number":52,"context_line":"    priority: 100"},{"line_number":53,"context_line":"    authentication_password: \"{{ keepalived_authentication_password | default(\u0027secret\u0027) }}\""},{"line_number":54,"context_line":"    vips:"},{"line_number":55,"context_line":"      - \"{{keepalived_external_vip_cidr}} dev eth0\""},{"line_number":56,"context_line":"    # Optional Scripts for tracking the current status of the keepalived instance"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_ed8cb2db","line":53,"updated":"2015-09-01 00:06:10.000000000","message":"While this is an example file instead of setting the password sting here as a variable with a known string I\u0027d like to see it removed and a note added to the role readme indicating that it has to be set for the role to work or a comment here to ensure that known strings are not used within a production deployment. Additionally if this is a password function that we need set we can add it to the `user_sercrets.yml` file so it can be generated accordingly.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    state: MASTER"},{"line_number":63,"context_line":"    virtual_router_id: 11"},{"line_number":64,"context_line":"    priority: 100"},{"line_number":65,"context_line":"    authentication_password: \"{{ keepalived_authentication_password | default(\u0027secret\u0027) }}\""},{"line_number":66,"context_line":"    # Optional Scripts for tracking the current status of the keepalived instance"},{"line_number":67,"context_line":"    #track_scripts:"},{"line_number":68,"context_line":"    #  - haproxy_check_script"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_ad923af4","line":65,"updated":"2015-09-01 00:06:10.000000000","message":"See comment on LN:53","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"}],"playbooks/roles/keepalived/vars/main.yml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_ad579a24","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header.\n\nThat said I\u0027m not sure that this file is needed as its an empty file all together and items passed through this file can be represented in the `default/main.yml` file.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bf8df4dc087f9b40de83625143cf486761070396","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_608f3b75","in_reply_to":"da20952f_ad579a24","updated":"2015-09-01 09:38:24.000000000","message":"FYI, it\u0027s created by default when you use ansible-galaxy init \u003cyour_role_name\u003e. Like any other file you\u0027ve seen in this role.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"12295d2f1403455951eb40786a79ba6940dc8104","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":10,"id":"ba15a1d1_0c7df5e6","updated":"2015-09-15 14:02:15.000000000","message":"this is an empty file, unless its being kept for the purpose to document that ability to set additional vars I think it should be removed.","commit_id":"ccd64e8bc352dcf2e92da08d6a92ce9853676dc9"}],"playbooks/vars/configs/keepalived_haproxy_backup.yml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_6d3422fb","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    state: BACKUP"},{"line_number":23,"context_line":"    virtual_router_id: \"{{ keepalived_external_virtual_router_id | default (\u002710\u0027) }}\""},{"line_number":24,"context_line":"    priority: \"{{ keepalived_priority_backup | default(\u002720\u0027) }}\""},{"line_number":25,"context_line":"    authentication_password: \"{{ keepalived_authentication_password | default(\u0027secret\u0027) }}\""},{"line_number":26,"context_line":"    vips:"},{"line_number":27,"context_line":"      - \"{{keepalived_external_vip_cidr}} dev {{keepalived_external_interface | default(management_bridge)}}\""},{"line_number":28,"context_line":"    track_scripts:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_cd8d2ed4","line":25,"updated":"2015-09-01 00:06:10.000000000","message":"Instead of setting the password sting here as a variable with a known string I\u0027d like to see it removed and a note added to the role readme indicating that it has to be set for the role to work or a comment here to ensure that known strings are not used within a production deployment. Additionally if this is a password function that we need set we can add it to the `user_sercrets.yml` file so it can be generated accordingly.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bf8df4dc087f9b40de83625143cf486761070396","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    state: BACKUP"},{"line_number":23,"context_line":"    virtual_router_id: \"{{ keepalived_external_virtual_router_id | default (\u002710\u0027) }}\""},{"line_number":24,"context_line":"    priority: \"{{ keepalived_priority_backup | default(\u002720\u0027) }}\""},{"line_number":25,"context_line":"    authentication_password: \"{{ keepalived_authentication_password | default(\u0027secret\u0027) }}\""},{"line_number":26,"context_line":"    vips:"},{"line_number":27,"context_line":"      - \"{{keepalived_external_vip_cidr}} dev {{keepalived_external_interface | default(management_bridge)}}\""},{"line_number":28,"context_line":"    track_scripts:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_c0e5e708","line":25,"in_reply_to":"da20952f_cd8d2ed4","updated":"2015-09-01 09:38:24.000000000","message":"In production environments, or even in tests environments, this variable should be set. It was set in user_secrets anyway. I\u0027ll remove the default variable.\n\nIf the variable keepalived_authentication_password isn\u0027t set, then something isn\u0027t right, and the playbook should stop.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    state: BACKUP"},{"line_number":34,"context_line":"    virtual_router_id: \"{{ keepalived_internal_virtual_router_id | default (\u002711\u0027) }}\""},{"line_number":35,"context_line":"    priority: \"{{ keepalived_priority_backup | default(\u002720\u0027) }}\""},{"line_number":36,"context_line":"    authentication_password: \"{{ keepalived_authentication_password | default(\u0027secret\u0027) }}\""},{"line_number":37,"context_line":"    track_scripts:"},{"line_number":38,"context_line":"      - haproxy_check_script"},{"line_number":39,"context_line":"      - pingable_check_script"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_2db5ca7c","line":36,"updated":"2015-09-01 00:06:10.000000000","message":"See comment on LN:25","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":6834,"name":"Adolfo R. Brandes","email":"arbrandes@arbrand.es","username":"arbrandes"},"change_message_id":"9795a81c5aea4755b4576191dd04baa0b4686f7b","unresolved":false,"context_lines":[{"line_number":20,"context_line":"      - internal"},{"line_number":21,"context_line":"    notify_script: /etc/keepalived/haproxy_notify.sh"},{"line_number":22,"context_line":"    ##if a src_*_script is defined, it will be uploaded from src_*_script on the deploy host to the *_script location. Make sure *_script is a location in that case."},{"line_number":23,"context_line":"    src_notify_script: /opt/os-ansible-deployment/playbooks/vars/configs/keepalived_haproxy_notifications.sh"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"keepalived_scripts:"},{"line_number":26,"context_line":"  haproxy_check_script:"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"ba15a1d1_4ef00cca","line":23,"updated":"2015-09-19 16:23:56.000000000","message":"Is a more generic default setting (relative directory?) for src_notify_script not possible?","commit_id":"69ff3acff550560b3eecb70de3401a19fe6a8c5c"}],"playbooks/vars/configs/keepalived_haproxy_master.yml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_2d3aaae7","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_4d3d9edb","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    state: MASTER"},{"line_number":25,"context_line":"    virtual_router_id: \"{{ keepalived_external_virtual_router_id | default (\u002710\u0027) }}\""},{"line_number":26,"context_line":"    priority: \"{{ keepalived_priority_master | default(\u0027100\u0027) }}\""},{"line_number":27,"context_line":"    authentication_password: \"{{ keepalived_authentication_password | default(\u0027secret\u0027) }}\""},{"line_number":28,"context_line":"    vips:"},{"line_number":29,"context_line":"      - \"{{keepalived_external_vip_cidr}} dev {{keepalived_external_interface | default(management_bridge)}}\""},{"line_number":30,"context_line":"    track_scripts:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_ada9da25","line":27,"updated":"2015-09-01 00:06:10.000000000","message":"Instead of setting the password sting here as a variable with a known string I\u0027d like to see it removed and a note added to the role readme indicating that it has to be set for the role to work or a comment here to ensure that known strings are not used within a production deployment. Additionally if this is a password function that we need set we can add it to the `user_sercrets.yml` file so it can be generated accordingly.","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    state: MASTER"},{"line_number":36,"context_line":"    virtual_router_id: \"{{ keepalived_internal_virtual_router_id | default (\u002711\u0027) }}\""},{"line_number":37,"context_line":"    priority: \"{{ keepalived_priority_master | default(\u0027100\u0027) }}\""},{"line_number":38,"context_line":"    authentication_password: \"{{ keepalived_authentication_password | default(\u0027secret\u0027) }}\""},{"line_number":39,"context_line":"    track_scripts:"},{"line_number":40,"context_line":"      - haproxy_check_script"},{"line_number":41,"context_line":"      - pingable_check_script"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da20952f_8d6976fb","line":38,"updated":"2015-09-01 00:06:10.000000000","message":"See comment on LN:27","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":6834,"name":"Adolfo R. Brandes","email":"arbrandes@arbrand.es","username":"arbrandes"},"change_message_id":"9795a81c5aea4755b4576191dd04baa0b4686f7b","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    notify_script: /etc/keepalived/haproxy_notify.sh"},{"line_number":22,"context_line":"    ##if a src_*_script is defined, it will be uploaded from src_*_script on the deploy host to the *_script location. Make sure *_script is a location in that case."},{"line_number":23,"context_line":"    #src_notify_script:"},{"line_number":24,"context_line":"    src_notify_script: /opt/os-ansible-deployment/playbooks/vars/configs/keepalived_haproxy_notifications.sh"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"keepalived_scripts:"},{"line_number":27,"context_line":"  haproxy_check_script:"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"ba15a1d1_ceb2dc06","line":24,"updated":"2015-09-19 16:23:56.000000000","message":"Is a more generic default setting (relative directory?) for src_notify_script not possible?","commit_id":"69ff3acff550560b3eecb70de3401a19fe6a8c5c"}],"playbooks/vars/configs/keepalived_haproxy_notifications.sh":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_0d2486c2","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"0f3b150f36bacc53ea82d6d64f8c53af95bc399a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"da20952f_ed28329c","updated":"2015-09-01 00:06:10.000000000","message":"Missing boiler plate license header","commit_id":"4859d68f1e5cdd2a8f80033b74eea9baa2579bb5"},{"author":{"_account_id":7217,"name":"Hugh Saunders","email":"hugh@wherenow.org","username":"hughsaunders"},"change_message_id":"35ea6390961c64d2f2b4ab4293ab727fb220d565","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"da20952f_e2b78538","updated":"2015-09-09 12:01:18.000000000","message":"Why is this script in vars? How is it different from keepalived_notifications.sh ?","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"dd0895121e072d37dd29761944b59ae211911f77","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"da20952f_e339a2a4","in_reply_to":"da20952f_e2b78538","updated":"2015-09-10 08:35:21.000000000","message":"This is the script that really used for the play.\n\nThe other is just an example that comes with  the ansible-galaxy role.","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"},{"author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"change_message_id":"e45f59b8cc96436d3428d0e8cfe9a7d075689d15","unresolved":false,"context_lines":[{"line_number":19,"context_line":"NEWSTATE\u003d$3"},{"line_number":20,"context_line":"OLDSTATE\u003d$(cat /var/run/keepalived.state)"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"echo \"Changed state from (probably) $OLDSTATE to $NEWSTATE\" \u003e\u003e /var/log/keepalived-states.log"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"echo \"$NEWSTATE\" \u003e /var/run/keepalived.state"},{"line_number":25,"context_line":""}],"source_content_type":"text/x-sh","patch_set":5,"id":"da20952f_d0db4f7c","line":22,"updated":"2015-09-09 13:42:44.000000000","message":"Maybe the date can be inserted here, this way we know when changes occurs.","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"},{"author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"change_message_id":"e45f59b8cc96436d3428d0e8cfe9a7d075689d15","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"echo \"$NEWSTATE\" \u003e /var/run/keepalived.state"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"if [ \"$OLDSTATE\" -ne \"FAULT\" ]"},{"line_number":27,"context_line":"case $NEWSTATE in"},{"line_number":28,"context_line":"        \"MASTER\") service haproxy start"},{"line_number":29,"context_line":"                  exit 0"}],"source_content_type":"text/x-sh","patch_set":5,"id":"da20952f_a293cdff","line":26,"updated":"2015-09-09 13:42:44.000000000","message":"-ne is used to compare integer, should use !\u003d to compare strings.\n\nif needs then.\n\nif [] ; then","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"},{"author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"change_message_id":"e45f59b8cc96436d3428d0e8cfe9a7d075689d15","unresolved":false,"context_lines":[{"line_number":41,"context_line":"esac"},{"line_number":42,"context_line":"else"},{"line_number":43,"context_line":"#If something was faulty, try to get standard behaviour first."},{"line_number":44,"context_line":"echo \"This could happen if your keepalived process ungracefully fails\" \u003e\u003e /var/log/keepalived-states.log"},{"line_number":45,"context_line":"case $NEWSTATE in"},{"line_number":46,"context_line":"        \"MASTER\") service haproxy start"},{"line_number":47,"context_line":"           service keepalived restart"}],"source_content_type":"text/x-sh","patch_set":5,"id":"da20952f_428511ab","line":44,"updated":"2015-09-09 13:42:44.000000000","message":"date here as well could be nice\n+ some alignment to make is looks nicer","commit_id":"2208e4bfaf6294c14bb2cd7e3a1e2110f17b737f"}]}
