)]}'
{"tasks/haproxy_install.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"a9017b9e933c0703c93599ca817cc71f3ffa0653","unresolved":false,"context_lines":[{"line_number":25,"context_line":"  delay: 2"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"- name: Download the hatop package"},{"line_number":28,"context_line":"  include_tasks: haproxy_install_download_extra_package.yml"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"- name: Unarchive HATop"},{"line_number":31,"context_line":"  unarchive:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ff6b8bd7_802c3a9a","line":28,"updated":"2018-03-05 07:58:56.000000000","message":"I\u0027m not sure that using an include here is necessary. If we were only doing this on some condition, then yes - but this is done every time so the tasks may as well be in this file to reduce the number of layers when looking through what\u0027s going on.","commit_id":"764dd8561f5036242a681ec5d3902ba48f63d746"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"a9017b9e933c0703c93599ca817cc71f3ffa0653","unresolved":false,"context_lines":[{"line_number":30,"context_line":"- name: Unarchive HATop"},{"line_number":31,"context_line":"  unarchive:"},{"line_number":32,"context_line":"    src: \"{{ haproxy_hatop_download_path }}/{{ haproxy_hatop_download_url | basename }}\""},{"line_number":33,"context_line":"    dest: \"/opt\""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"- name: Install HATop"},{"line_number":36,"context_line":"  command: \"install -m 755 bin/hatop /usr/local/bin\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ff6b8bd7_807afa85","line":33,"updated":"2018-03-05 07:58:56.000000000","message":"This is extracting from the deploy host to the target host. If the downloader is the target host, then this needs to set the remote_src argument. If we\u0027re copying the downloaded file over to the target host, then we need to set remote_src too. It may be best to settle on doing it one way, and adapting both download options to extract in a single method.","commit_id":"764dd8561f5036242a681ec5d3902ba48f63d746"}],"tasks/haproxy_install_download_extra_package.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"a9017b9e933c0703c93599ca817cc71f3ffa0653","unresolved":false,"context_lines":[{"line_number":23,"context_line":"  get_url:"},{"line_number":24,"context_line":"    url: \"{{ haproxy_hatop_download_url }}\""},{"line_number":25,"context_line":"    dest: \"{{ haproxy_hatop_download_path }}\""},{"line_number":26,"context_line":"    checksum: \"{{ haproxy_hatop_download_checksum | default(omit) }}\""},{"line_number":27,"context_line":"    force: \"{{ haproxy_hatop_download_checksum is not defined }}\""},{"line_number":28,"context_line":"    validate_certs: \"{{ haproxy_hatop_download_validate_certs }}\""},{"line_number":29,"context_line":"  register: fetch_url"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ff6b8bd7_c031d2ee","line":26,"range":{"start_line":26,"start_character":50,"end_line":26,"end_character":65},"updated":"2018-03-05 07:58:56.000000000","message":"The default is unnecessary given that it\u0027s defined by default.","commit_id":"764dd8561f5036242a681ec5d3902ba48f63d746"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"a9017b9e933c0703c93599ca817cc71f3ffa0653","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    url: \"{{ haproxy_hatop_download_url }}\""},{"line_number":25,"context_line":"    dest: \"{{ haproxy_hatop_download_path }}\""},{"line_number":26,"context_line":"    checksum: \"{{ haproxy_hatop_download_checksum | default(omit) }}\""},{"line_number":27,"context_line":"    force: \"{{ haproxy_hatop_download_checksum is not defined }}\""},{"line_number":28,"context_line":"    validate_certs: \"{{ haproxy_hatop_download_validate_certs }}\""},{"line_number":29,"context_line":"  register: fetch_url"},{"line_number":30,"context_line":"  until: fetch_url | success"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ff6b8bd7_00382ad1","line":27,"range":{"start_line":27,"start_character":0,"end_line":27,"end_character":65},"updated":"2018-03-05 07:58:56.000000000","message":"This value is defined by default, so this argument is unnecessary.","commit_id":"764dd8561f5036242a681ec5d3902ba48f63d746"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"a9017b9e933c0703c93599ca817cc71f3ffa0653","unresolved":false,"context_lines":[{"line_number":32,"context_line":"  delay: 10"},{"line_number":33,"context_line":"  delegate_to: \"{{ (haproxy_hatop_downloader \u003d\u003d \u0027deployment-host\u0027) | ternary(\u0027localhost\u0027, omit) }}\""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"- name: Copy downloaded package from deployment-host to target-host"},{"line_number":36,"context_line":"  copy:"},{"line_number":37,"context_line":"    src: \"{{ haproxy_hatop_download_path }}/{{ haproxy_hatop_download_url | basename }}\""},{"line_number":38,"context_line":"    dest: \"{{ haproxy_hatop_download_path }}/\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"ff6b8bd7_e03f36b3","line":35,"updated":"2018-03-05 07:58:56.000000000","message":"Does it need to be copied to the target host? The unarchive module can extract from the deploy host directly to the target.\n\nIf it does need to be copied over, then we need to ensure that the haproxy_hatop_download_path needs to be created on the target host. The task in line 16 is only doing it on the deploy host when haproxy_hatop_downloader \u003d\u003d \u0027deployment-host\u0027.","commit_id":"764dd8561f5036242a681ec5d3902ba48f63d746"}]}
