)]}'
{"defaults/main.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"8ec4efdb9d437c2bc8ccdbd7c00e0134f01a7195","unresolved":false,"context_lines":[{"line_number":129,"context_line":"# Set the servers to download LXC images from"},{"line_number":130,"context_line":"# NOTE(mhayden): The main images.linuxcontainers.org site will redirect"},{"line_number":131,"context_line":"# requests to (us|uk).images.linuxcontainers.org upon the first request. We"},{"line_number":132,"context_line":"# add the mirrors here to get around some HTTP 400 erros and allow aria2 to"},{"line_number":133,"context_line":"# download from both mirrors at the same time."},{"line_number":134,"context_line":"lxc_image_cache_server: https://images.linuxcontainers.org"},{"line_number":135,"context_line":"lxc_image_cache_server_mirrors:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"9f436f4f_6ada08ea","line":132,"updated":"2017-08-08 18:08:52.000000000","message":"errors","commit_id":"16228830246ba457254acf3fe70ecfb1bcdfc125"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"fa476fd29bd90040367f01f84208bcacf6adfac5","unresolved":false,"context_lines":[{"line_number":127,"context_line":"lxc_cache_prep_post_commands: \u0027## post command skipped ##\u0027"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"# The DNS name of the LXD server to source the base container cache from"},{"line_number":130,"context_line":"lxc_image_cache_server: images.linuxcontainers.org"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"# The protocol to use to fetch from lxc_image_cache_server"},{"line_number":133,"context_line":"lxc_image_cache_server_proto: http"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_fba55605","side":"PARENT","line":130,"updated":"2017-08-11 06:53:38.000000000","message":"With this var being removed, there should be a reno indicating the removal.","commit_id":"93c2d32d0c5648491e3c9cceb55489dd6ad726dd"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"65c778b255a963a504500e4fbfcf2cac5e00b4e6","unresolved":false,"context_lines":[{"line_number":127,"context_line":"lxc_cache_prep_post_commands: \u0027## post command skipped ##\u0027"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"# The DNS name of the LXD server to source the base container cache from"},{"line_number":130,"context_line":"lxc_image_cache_server: images.linuxcontainers.org"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"# The protocol to use to fetch from lxc_image_cache_server"},{"line_number":133,"context_line":"lxc_image_cache_server_proto: http"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_e1bfdfcd","side":"PARENT","line":130,"in_reply_to":"9f436f4f_fba55605","updated":"2017-08-11 13:28:46.000000000","message":"I\u0027ll keep it and note that it should be removed later.","commit_id":"93c2d32d0c5648491e3c9cceb55489dd6ad726dd"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"6f592a9b78333735ddbd975e97ff623656fde6c6","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":"# Environment to use when building LXC caches"},{"line_number":17,"context_line":"# These environment variables will be passed to LXC template download tasks."},{"line_number":18,"context_line":"# Here is an example for adding HTTP/HTTPS proxy servers:"},{"line_number":19,"context_line":"#"},{"line_number":20,"context_line":"#    lxc_cache_environment: {"},{"line_number":21,"context_line":"#      \u0027http_proxy\u0027: \u0027http://proxy.example.com\u0027,"},{"line_number":22,"context_line":"#      \u0027https_proxy\u0027: \u0027https://secure-proxy.example.com\u0027,"},{"line_number":23,"context_line":"#    }"},{"line_number":24,"context_line":"#"},{"line_number":25,"context_line":"lxc_cache_environment: {}"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"# Validate certificates when downloading LXC templates"},{"line_number":28,"context_line":"lxc_hosts_validate_certs: yes"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_9b6f6a91","line":25,"range":{"start_line":16,"start_character":0,"end_line":25,"end_character":25},"updated":"2017-08-11 06:57:45.000000000","message":"We already have two ways of setting environment variables - one for permanent placement (global_environment_variable), the other for deployment only (deployment_environment_variables). Why not just use the environment vars directly instead of adding another ansible var?","commit_id":"178c608169aa78119945f7b4f9fcba8526b15a01"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"5e6e68a6e28459ece3099117c7419c0ae5fde1a2","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":"# Environment to use when building LXC caches"},{"line_number":17,"context_line":"# These environment variables will be passed to LXC template download tasks."},{"line_number":18,"context_line":"# Here is an example for adding HTTP/HTTPS proxy servers:"},{"line_number":19,"context_line":"#"},{"line_number":20,"context_line":"#    lxc_cache_environment: {"},{"line_number":21,"context_line":"#      \u0027http_proxy\u0027: \u0027http://proxy.example.com\u0027,"},{"line_number":22,"context_line":"#      \u0027https_proxy\u0027: \u0027https://secure-proxy.example.com\u0027,"},{"line_number":23,"context_line":"#    }"},{"line_number":24,"context_line":"#"},{"line_number":25,"context_line":"lxc_cache_environment: {}"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"# Validate certificates when downloading LXC templates"},{"line_number":28,"context_line":"lxc_hosts_validate_certs: yes"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_e17c7fec","line":25,"range":{"start_line":16,"start_character":0,"end_line":25,"end_character":25},"in_reply_to":"9f436f4f_9b6f6a91","updated":"2017-08-11 13:37:59.000000000","message":"Done","commit_id":"178c608169aa78119945f7b4f9fcba8526b15a01"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"fa476fd29bd90040367f01f84208bcacf6adfac5","unresolved":false,"context_lines":[{"line_number":175,"context_line":"  --release {{ lxc_cache_map.release }}"},{"line_number":176,"context_line":"  --arch {{ lxc_cache_map.arch }}"},{"line_number":177,"context_line":"  --force-cache"},{"line_number":178,"context_line":"  --server {{ lxc_image_cache_server_mirrors[0] }}"},{"line_number":179,"context_line":"  --variant {{ lxc_cache_default_variant }}"},{"line_number":180,"context_line":"  {{ lxc_cache_download_template_extra_options }}"},{"line_number":181,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_fb22f6a3","line":178,"updated":"2017-08-11 06:53:38.000000000","message":"This is not a valid value for the --server parameter which expects a host name, not a URL.","commit_id":"178c608169aa78119945f7b4f9fcba8526b15a01"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"65c778b255a963a504500e4fbfcf2cac5e00b4e6","unresolved":false,"context_lines":[{"line_number":175,"context_line":"  --release {{ lxc_cache_map.release }}"},{"line_number":176,"context_line":"  --arch {{ lxc_cache_map.arch }}"},{"line_number":177,"context_line":"  --force-cache"},{"line_number":178,"context_line":"  --server {{ lxc_image_cache_server_mirrors[0] }}"},{"line_number":179,"context_line":"  --variant {{ lxc_cache_default_variant }}"},{"line_number":180,"context_line":"  {{ lxc_cache_download_template_extra_options }}"},{"line_number":181,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_81d01321","line":178,"in_reply_to":"9f436f4f_fb22f6a3","updated":"2017-08-11 13:28:46.000000000","message":"Done","commit_id":"178c608169aa78119945f7b4f9fcba8526b15a01"}],"releasenotes/notes/lxc_image_cache_server-f14701a7f8f4b8ca.yaml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"7a2ea4c54bbb18da9756c3600cc1536de3d83cf6","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"deprecations:"},{"line_number":3,"context_line":"  - The variable ``lxc_image_cache_server`` has been deprecated and is now"},{"line_number":4,"context_line":"    pulled from the ``lxc_image_cache_server_mirrors`` list. This option will"},{"line_number":5,"context_line":"    be removed in \"R\"."}],"source_content_type":"text/x-yaml","patch_set":17,"id":"9f436f4f_14b45f34","line":3,"range":{"start_line":3,"start_character":19,"end_line":3,"end_character":41},"updated":"2017-08-11 13:45:16.000000000","message":"This value is also used in the lxc_hosts role, so it\u0027s probably best to not say this but instead announce the new lxc_image_cache_server_mirrors as a new feature for the image cache prep alone.","commit_id":"9bcfb2bd6372a47bc86bf2adda8cd8815d0c1efb"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"b742196e4bcbc1c23c0aac5a56f32907eca64c8c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"deprecations:"},{"line_number":3,"context_line":"  - The variable ``lxc_image_cache_server`` has been deprecated and is now"},{"line_number":4,"context_line":"    pulled from the ``lxc_image_cache_server_mirrors`` list. This option will"},{"line_number":5,"context_line":"    be removed in \"R\"."}],"source_content_type":"text/x-yaml","patch_set":17,"id":"9f436f4f_14c1ff2e","line":3,"range":{"start_line":3,"start_character":19,"end_line":3,"end_character":41},"in_reply_to":"9f436f4f_14b45f34","updated":"2017-08-11 13:57:57.000000000","message":"this var is no longer used anywhere?","commit_id":"9bcfb2bd6372a47bc86bf2adda8cd8815d0c1efb"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"7afb0360319ca2d3f8d53a4aa2d0164a97236521","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"deprecations:"},{"line_number":3,"context_line":"  - The variable ``lxc_image_cache_server`` has been deprecated and is now"},{"line_number":4,"context_line":"    pulled from the ``lxc_image_cache_server_mirrors`` list. This option will"},{"line_number":5,"context_line":"    be removed in \"R\"."}],"source_content_type":"text/x-yaml","patch_set":18,"id":"9f436f4f_54ff8733","line":3,"updated":"2017-08-11 14:01:30.000000000","message":"This var is still used here: https://github.com/openstack/openstack-ansible-lxc_container_create/blob/master/defaults/main.yml#L97","commit_id":"42efab0732adf0da5aeaf6e4b723f3c88a76daad"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"ac8c29ec1a9f288c154ed6ccb2a0b2fa2d7325e9","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"deprecations:"},{"line_number":3,"context_line":"  - The variable ``lxc_image_cache_server`` has been deprecated and is now"},{"line_number":4,"context_line":"    pulled from the ``lxc_image_cache_server_mirrors`` list. This option will"},{"line_number":5,"context_line":"    be removed in \"R\"."}],"source_content_type":"text/x-yaml","patch_set":18,"id":"9f436f4f_d7025909","line":3,"in_reply_to":"9f436f4f_54ff8733","updated":"2017-08-11 14:14:31.000000000","message":"that var could be \"none\" or anything else we want. We simply pass it in because the download template requires it. Additionally that var is only used with the cache download string and because the \"--force-cache\", both here and in the lxc-container-create role, the value of this option is ignored.","commit_id":"42efab0732adf0da5aeaf6e4b723f3c88a76daad"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"26d177b1388259ee1203220de9afd2cbc89c26c4","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"deprecations:"},{"line_number":3,"context_line":"  - The variable ``lxc_image_cache_server`` has been deprecated and is now"},{"line_number":4,"context_line":"    pulled from the ``lxc_image_cache_server_mirrors`` list. This option will"},{"line_number":5,"context_line":"    be removed in \"R\"."}],"source_content_type":"text/x-yaml","patch_set":18,"id":"9f436f4f_e2347895","line":3,"in_reply_to":"9f436f4f_72c61b9d","updated":"2017-08-11 17:31:03.000000000","message":"the var is now deprecated and will be removed in this role in the \"R\" release. It\u0027s not used in this role and while the lxc_container_create role does happen to have a variable with the same name, it has no effect by default here or there due to our use of the \"--force-cache\" flag.","commit_id":"42efab0732adf0da5aeaf6e4b723f3c88a76daad"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"53c6a7611c611996c031d82af6a502ea3877138e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"deprecations:"},{"line_number":3,"context_line":"  - The variable ``lxc_image_cache_server`` has been deprecated and is now"},{"line_number":4,"context_line":"    pulled from the ``lxc_image_cache_server_mirrors`` list. This option will"},{"line_number":5,"context_line":"    be removed in \"R\"."}],"source_content_type":"text/x-yaml","patch_set":18,"id":"9f436f4f_72c61b9d","line":3,"in_reply_to":"9f436f4f_d7025909","updated":"2017-08-11 14:49:54.000000000","message":"Yes, so the point is that globally (outside of the context of this tole) the var is not deprecated. It\u0027s still used. So, as suggested before, just reno the new feature. Alternatively scope these comments to this role only.","commit_id":"42efab0732adf0da5aeaf6e4b723f3c88a76daad"}],"tasks/lxc_cache_create.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"7a2ea4c54bbb18da9756c3600cc1536de3d83cf6","unresolved":false,"context_lines":[{"line_number":89,"context_line":"  retries: 3"},{"line_number":90,"context_line":"  delay: 10"},{"line_number":91,"context_line":"  until: cache_download|success"},{"line_number":92,"context_line":"  environment: \"{{ deployment_environment_variables | default({}) }}\""},{"line_number":93,"context_line":"  when:"},{"line_number":94,"context_line":"    - lxc_container_backing_store is defined"},{"line_number":95,"context_line":"    - lxc_container_backing_store \u003d\u003d \u0027overlayfs\u0027"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"9f436f4f_f4e9db19","line":92,"updated":"2017-08-11 13:45:16.000000000","message":"Deployment_environment_variables get passed in the playbook, so the entire play inherits it. This should not be necessary.","commit_id":"9bcfb2bd6372a47bc86bf2adda8cd8815d0c1efb"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"7a2ea4c54bbb18da9756c3600cc1536de3d83cf6","unresolved":false,"context_lines":[{"line_number":105,"context_line":"  retries: 3"},{"line_number":106,"context_line":"  delay: 10"},{"line_number":107,"context_line":"  until: cache_download|success"},{"line_number":108,"context_line":"  environment: \"{{ deployment_environment_variables | default({}) }}\""},{"line_number":109,"context_line":"  when:"},{"line_number":110,"context_line":"    - lxc_container_backing_store is defined"},{"line_number":111,"context_line":"    - lxc_container_backing_store \u003d\u003d \u0027lvm\u0027"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"9f436f4f_b4f3530a","line":108,"updated":"2017-08-11 13:45:16.000000000","message":"Deployment_environment_variables get passed in the playbook, so the entire play inherits it. This should not be necessary.","commit_id":"9bcfb2bd6372a47bc86bf2adda8cd8815d0c1efb"}],"tasks/lxc_cache_preparation.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"7a2ea4c54bbb18da9756c3600cc1536de3d83cf6","unresolved":false,"context_lines":[{"line_number":40,"context_line":"      with_items:"},{"line_number":41,"context_line":"        - systemd-machined.service.d"},{"line_number":42,"context_line":"        - systemd-importd.service.d"},{"line_number":43,"context_line":"  when: (deployment_environment_variables | default({})).keys() | length \u003e 0"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"- include: \"lxc_cache_preparation_systemd_{{ (systemd_version.stdout_lines[0].split()[-1] | int \u003e 219) | ternary(\u0027new\u0027, \u0027old\u0027) }}.yml\""},{"line_number":46,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":17,"id":"9f436f4f_34c0837b","line":43,"updated":"2017-08-11 13:45:16.000000000","message":"Is this a once-off, or a permanent thing - deployment_environment_variables are meant to be once-off, not permanent. They\u0027re passed in via the playbook and only used for the duration of the playbook execution.","commit_id":"9bcfb2bd6372a47bc86bf2adda8cd8815d0c1efb"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"b742196e4bcbc1c23c0aac5a56f32907eca64c8c","unresolved":false,"context_lines":[{"line_number":40,"context_line":"      with_items:"},{"line_number":41,"context_line":"        - systemd-machined.service.d"},{"line_number":42,"context_line":"        - systemd-importd.service.d"},{"line_number":43,"context_line":"  when: (deployment_environment_variables | default({})).keys() | length \u003e 0"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"- include: \"lxc_cache_preparation_systemd_{{ (systemd_version.stdout_lines[0].split()[-1] | int \u003e 219) | ternary(\u0027new\u0027, \u0027old\u0027) }}.yml\""},{"line_number":46,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":17,"id":"9f436f4f_f462fb3d","line":43,"in_reply_to":"9f436f4f_34c0837b","updated":"2017-08-11 13:57:57.000000000","message":"this was here before.","commit_id":"9bcfb2bd6372a47bc86bf2adda8cd8815d0c1efb"}],"tasks/lxc_cache_preparation_systemd_new.yml":[{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"908c466688f01f9c6d432c3975e9dbede0e0d13f","unresolved":false,"context_lines":[{"line_number":47,"context_line":"    {{ lxc_image_cache_pull_mode }}"},{"line_number":48,"context_line":"    /tmp/rootfs.tar.xz"},{"line_number":49,"context_line":"    {{ lxc_container_base_name }}"},{"line_number":50,"context_line":"  register: pull_image"},{"line_number":51,"context_line":"  until: pull_image | success"},{"line_number":52,"context_line":"  retries: 3"},{"line_number":53,"context_line":"  delay: 1"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_6a96fb40","line":50,"updated":"2017-08-14 14:08:54.000000000","message":"This now uses the same \u0027pull_image\u0027 fact with the one defined in lxc_cache_prestage.yml. This means that if pull_image is \u0027success\u0027 in the lxc_cache_prestage.yml file then this task will not be executed right?","commit_id":"178c608169aa78119945f7b4f9fcba8526b15a01"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"a96bfed3f3d87e9c7f6dbab2a0b9558142f724ab","unresolved":false,"context_lines":[{"line_number":47,"context_line":"    {{ lxc_image_cache_pull_mode }}"},{"line_number":48,"context_line":"    /tmp/rootfs.tar.xz"},{"line_number":49,"context_line":"    {{ lxc_container_base_name }}"},{"line_number":50,"context_line":"  register: pull_image"},{"line_number":51,"context_line":"  until: pull_image | success"},{"line_number":52,"context_line":"  retries: 3"},{"line_number":53,"context_line":"  delay: 1"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_f0e1ba9c","line":50,"in_reply_to":"9f436f4f_1020be47","updated":"2017-08-14 15:12:51.000000000","message":"I don\u0027t think this should have any negative effect as the register should create a new fact when the task executes, however I can change it.","commit_id":"178c608169aa78119945f7b4f9fcba8526b15a01"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"02939233ed23ce4515b73ef77e8b0849c5762a42","unresolved":false,"context_lines":[{"line_number":47,"context_line":"    {{ lxc_image_cache_pull_mode }}"},{"line_number":48,"context_line":"    /tmp/rootfs.tar.xz"},{"line_number":49,"context_line":"    {{ lxc_container_base_name }}"},{"line_number":50,"context_line":"  register: pull_image"},{"line_number":51,"context_line":"  until: pull_image | success"},{"line_number":52,"context_line":"  retries: 3"},{"line_number":53,"context_line":"  delay: 1"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_1020be47","line":50,"in_reply_to":"9f436f4f_6a96fb40","updated":"2017-08-14 15:01:33.000000000","message":"Oh good catch, we may need to ask Kevin on this one.","commit_id":"178c608169aa78119945f7b4f9fcba8526b15a01"}],"tasks/lxc_cache_prestage.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"d2a672ef90b6169cbe5c0bfa4d0e30d5ba02939c","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"- name: Pre-stage the LXC image on the system"},{"line_number":44,"context_line":"  shell: \u003e"},{"line_number":45,"context_line":"    aria2c --max-connection-per-server\u003d4 --continue --allow-overwrite\u003dtrue"},{"line_number":46,"context_line":"    --dir\u003d/tmp --out\u003drootfs.tar.xz"},{"line_number":47,"context_line":"    {% for server in lxc_image_cache_server_mirrors %}{{ server }}{{ item.split(\u0027;\u0027)[-1] }}rootfs.tar.xz {% endfor %}"},{"line_number":48,"context_line":"  args:"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"9f436f4f_57c7ce13","line":45,"range":{"start_line":45,"start_character":11,"end_line":45,"end_character":40},"updated":"2017-08-09 15:17:07.000000000","message":"I personally didn\u0027t find modifying the defaults to be worthwhile. That said, I was working with many, many small files. These are larger, so perhaps it\u0027s worth it.","commit_id":"4d94ae13ac7f7cc09d5bad9d9f21511c0bb9b841"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"80132bc56999d458f774c59fb39f4ea844406575","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"- name: Pre-stage the LXC image on the system"},{"line_number":44,"context_line":"  shell: \u003e"},{"line_number":45,"context_line":"    aria2c --max-connection-per-server\u003d4 --continue --allow-overwrite\u003dtrue"},{"line_number":46,"context_line":"    --dir\u003d/tmp --out\u003drootfs.tar.xz"},{"line_number":47,"context_line":"    {% for server in lxc_image_cache_server_mirrors %}{{ server }}{{ item.split(\u0027;\u0027)[-1] }}rootfs.tar.xz {% endfor %}"},{"line_number":48,"context_line":"  args:"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"9f436f4f_a6948d8c","line":45,"updated":"2017-08-09 15:58:26.000000000","message":"These particular ones seem to work well with the images mirrors after a bunch of tries.","commit_id":"4d94ae13ac7f7cc09d5bad9d9f21511c0bb9b841"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"d2a672ef90b6169cbe5c0bfa4d0e30d5ba02939c","unresolved":false,"context_lines":[{"line_number":44,"context_line":"  shell: \u003e"},{"line_number":45,"context_line":"    aria2c --max-connection-per-server\u003d4 --continue --allow-overwrite\u003dtrue"},{"line_number":46,"context_line":"    --dir\u003d/tmp --out\u003drootfs.tar.xz"},{"line_number":47,"context_line":"    {% for server in lxc_image_cache_server_mirrors %}{{ server }}{{ item.split(\u0027;\u0027)[-1] }}rootfs.tar.xz {% endfor %}"},{"line_number":48,"context_line":"  args:"},{"line_number":49,"context_line":"    warn: no"},{"line_number":50,"context_line":"  register: pull_image"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"9f436f4f_9792d6f5","line":47,"updated":"2017-08-09 15:17:07.000000000","message":"Can we also add something like this to cover proxy configuration:\n\n        {{ (http_proxy_env !\u003d \u0027not_set\u0027) | ternary(\u0027--http-proxy\u003d\u0027 ~ http_proxy_env, \u0027\u0027) }}\n        {{ (https_proxy_env !\u003d \u0027not_set\u0027) | ternary(\u0027--https-proxy\u003d\u0027 ~ https_proxy_env, \u0027\u0027) }}\n\nAnd something like this to cover certificate validation:\n\n        --check-certificate\u003d{{ (https_validate_certs | bool) | lower }}\n\nThose jinja vars aren\u0027t valid for this role - you\u0027ll have to find appropriate equivalents or add new ones. My source used these:\n\n    http_proxy_env: \"{{ lookup(\u0027env\u0027, \u0027http_proxy\u0027) | default(\u0027not_set\u0027, true) }}\"\n    https_proxy_env: \"{{ lookup(\u0027env\u0027, \u0027https_proxy\u0027) | default(\u0027not_set\u0027, true) }}\"\n    https_validate_certs: yes","commit_id":"4d94ae13ac7f7cc09d5bad9d9f21511c0bb9b841"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"80132bc56999d458f774c59fb39f4ea844406575","unresolved":false,"context_lines":[{"line_number":44,"context_line":"  shell: \u003e"},{"line_number":45,"context_line":"    aria2c --max-connection-per-server\u003d4 --continue --allow-overwrite\u003dtrue"},{"line_number":46,"context_line":"    --dir\u003d/tmp --out\u003drootfs.tar.xz"},{"line_number":47,"context_line":"    {% for server in lxc_image_cache_server_mirrors %}{{ server }}{{ item.split(\u0027;\u0027)[-1] }}rootfs.tar.xz {% endfor %}"},{"line_number":48,"context_line":"  args:"},{"line_number":49,"context_line":"    warn: no"},{"line_number":50,"context_line":"  register: pull_image"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"9f436f4f_8691899c","line":47,"updated":"2017-08-09 15:58:26.000000000","message":"Sounds good. I\u0027ll work something into the role.","commit_id":"4d94ae13ac7f7cc09d5bad9d9f21511c0bb9b841"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"fa476fd29bd90040367f01f84208bcacf6adfac5","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    --max-connection-per-server\u003d4"},{"line_number":28,"context_line":"    --continue"},{"line_number":29,"context_line":"    --allow-overwrite\u003dtrue"},{"line_number":30,"context_line":"    --dir\u003d/tmp"},{"line_number":31,"context_line":"    --out\u003dindex-system"},{"line_number":32,"context_line":"    --check-certificate\u003d{{ (lxc_hosts_validate_certs | bool) | lower }}"},{"line_number":33,"context_line":"    {% for server in lxc_image_cache_server_mirrors %}{{ server }}/meta/1.0/index-system {% endfor %}"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_3b775ea3","line":30,"range":{"start_line":30,"start_character":0,"end_line":30,"end_character":14},"updated":"2017-08-11 06:53:38.000000000","message":"Why download to /tmp ? Wouldn\u0027t it be better to put it somewhere where is can be compared and won\u0027t have to be downloaded every time.","commit_id":"178c608169aa78119945f7b4f9fcba8526b15a01"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"65c778b255a963a504500e4fbfcf2cac5e00b4e6","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    --max-connection-per-server\u003d4"},{"line_number":28,"context_line":"    --continue"},{"line_number":29,"context_line":"    --allow-overwrite\u003dtrue"},{"line_number":30,"context_line":"    --dir\u003d/tmp"},{"line_number":31,"context_line":"    --out\u003dindex-system"},{"line_number":32,"context_line":"    --check-certificate\u003d{{ (lxc_hosts_validate_certs | bool) | lower }}"},{"line_number":33,"context_line":"    {% for server in lxc_image_cache_server_mirrors %}{{ server }}/meta/1.0/index-system {% endfor %}"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_c1005b6a","line":30,"range":{"start_line":30,"start_character":0,"end_line":30,"end_character":14},"in_reply_to":"9f436f4f_3b775ea3","updated":"2017-08-11 13:28:46.000000000","message":"this is a text file. IDK if we\u0027d want to compare it everytime?","commit_id":"178c608169aa78119945f7b4f9fcba8526b15a01"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"fa476fd29bd90040367f01f84208bcacf6adfac5","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    --max-connection-per-server\u003d4"},{"line_number":65,"context_line":"    --continue"},{"line_number":66,"context_line":"    --allow-overwrite\u003dtrue"},{"line_number":67,"context_line":"    --dir\u003d/tmp"},{"line_number":68,"context_line":"    --out\u003drootfs.tar.xz"},{"line_number":69,"context_line":"    --check-certificate\u003d{{ (lxc_hosts_validate_certs | bool) | lower }}"},{"line_number":70,"context_line":"    {% for server in lxc_image_cache_server_mirrors %}{{ server }}{{ item.split(\u0027;\u0027)[-1] }}rootfs.tar.xz {% endfor %}"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_db73b2b0","line":67,"range":{"start_line":67,"start_character":0,"end_line":67,"end_character":14},"updated":"2017-08-11 06:53:38.000000000","message":"Why download to /tmp ? Wouldn\u0027t it be better to put it somewhere where is can be compared and won\u0027t have to be downloaded every time.","commit_id":"178c608169aa78119945f7b4f9fcba8526b15a01"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"65c778b255a963a504500e4fbfcf2cac5e00b4e6","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    --max-connection-per-server\u003d4"},{"line_number":65,"context_line":"    --continue"},{"line_number":66,"context_line":"    --allow-overwrite\u003dtrue"},{"line_number":67,"context_line":"    --dir\u003d/tmp"},{"line_number":68,"context_line":"    --out\u003drootfs.tar.xz"},{"line_number":69,"context_line":"    --check-certificate\u003d{{ (lxc_hosts_validate_certs | bool) | lower }}"},{"line_number":70,"context_line":"    {% for server in lxc_image_cache_server_mirrors %}{{ server }}{{ item.split(\u0027;\u0027)[-1] }}rootfs.tar.xz {% endfor %}"}],"source_content_type":"text/x-yaml","patch_set":16,"id":"9f436f4f_c10e1b8c","line":67,"range":{"start_line":67,"start_character":0,"end_line":67,"end_character":14},"in_reply_to":"9f436f4f_db73b2b0","updated":"2017-08-11 13:28:46.000000000","message":"this file is deleted after the image is created. `machinectl` using the \"pull-tar\" option would compare and skip if there was no difference, however changing to aria2 will not have the same capabilities. That said, we could leave the tarball in cache and try to create a similar mechanism?","commit_id":"178c608169aa78119945f7b4f9fcba8526b15a01"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"7a2ea4c54bbb18da9756c3600cc1536de3d83cf6","unresolved":false,"context_lines":[{"line_number":34,"context_line":"  args:"},{"line_number":35,"context_line":"    warn: no"},{"line_number":36,"context_line":"  environment:"},{"line_number":37,"context_line":"    - \"{{ deployment_environment_variables | default({}) }}\""},{"line_number":38,"context_line":"  tags:"},{"line_number":39,"context_line":"    - skip_ansible_lint"},{"line_number":40,"context_line":"    - always"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"9f436f4f_b45a33f0","line":37,"updated":"2017-08-11 13:45:16.000000000","message":"Deployment_environment_variables get passed in the playbook, so the entire play inherits it. This should not be necessary.\n\nWhat is necessary is using the http(s)_proxy vars if they are set.","commit_id":"9bcfb2bd6372a47bc86bf2adda8cd8815d0c1efb"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"7a2ea4c54bbb18da9756c3600cc1536de3d83cf6","unresolved":false,"context_lines":[{"line_number":71,"context_line":"  args:"},{"line_number":72,"context_line":"    warn: no"},{"line_number":73,"context_line":"  environment:"},{"line_number":74,"context_line":"    - \"{{ deployment_environment_variables | default({}) }}\""},{"line_number":75,"context_line":"  register: pull_image"},{"line_number":76,"context_line":"  async: 300"},{"line_number":77,"context_line":"  poll: 0"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"9f436f4f_d43a5796","line":74,"updated":"2017-08-11 13:45:16.000000000","message":"Deployment_environment_variables get passed in the playbook, so the entire play inherits it. This should not be necessary.\n\nWhat is necessary is using the http(s)_proxy vars if they are set.","commit_id":"9bcfb2bd6372a47bc86bf2adda8cd8815d0c1efb"}],"tasks/main.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"0fafd90a3454ca69779262283a8085550ab8045d","unresolved":false,"context_lines":[{"line_number":50,"context_line":"  tags:"},{"line_number":51,"context_line":"    - lxc_hosts-install"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"- include: lxc_cache_prestage.yml"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"- include: lxc_post_install.yml"},{"line_number":56,"context_line":"  tags:"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"9f436f4f_bb4ba585","line":53,"updated":"2017-08-08 16:46:47.000000000","message":"Please include:\ntags:\n  - lxc_hosts-config","commit_id":"65244198fba71a0a28616daba2d4a79149138024"}]}
