)]}'
{"vars/ubuntu.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"ee172f5e1c011ef59541ab72a268d561ec80b240","unresolved":false,"context_lines":[{"line_number":34,"context_line":"ceph_apt_repo_url: \"http://{{ ceph_apt_repo_url_region }}.ceph.com/debian-{{ ceph_stable_release }}/\""},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# Ubuntu Cloud Archive variables"},{"line_number":37,"context_line":"uca_openstack_release: master"},{"line_number":38,"context_line":"uca_repo_dist: \"{{ ansible_lsb.codename }}-updates/{{ uca_openstack_release }}\""},{"line_number":39,"context_line":"libvirt_package: libvirt-bin"},{"line_number":40,"context_line":"libvirt_service_name: libvirt-bin"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f79a3b5_b79aec6b","line":37,"range":{"start_line":37,"start_character":23,"end_line":37,"end_character":29},"updated":"2018-09-09 11:40:26.000000000","message":"I don\u0027t think such a UCA repo exists. For the current latest one, this should be \u0027rocky\u0027.","commit_id":"ac8a3bd061f66e150dc4b479103613d57357d681"},{"author":{"_account_id":25023,"name":"Jonathan Rosser","email":"jonathan.rosser@rd.bbc.co.uk","username":"jrosser"},"change_message_id":"4cbae26ffb913f94ad10f56e9c1a3286a7329ca9","unresolved":false,"context_lines":[{"line_number":34,"context_line":"ceph_apt_repo_url: \"http://{{ ceph_apt_repo_url_region }}.ceph.com/debian-{{ ceph_stable_release }}/\""},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# Ubuntu Cloud Archive variables"},{"line_number":37,"context_line":"uca_openstack_release: rocky"},{"line_number":38,"context_line":"uca_repo_dist: \"{{ ansible_lsb.codename }}-updates/{{ uca_openstack_release }}\""},{"line_number":39,"context_line":"libvirt_package: libvirt-bin"},{"line_number":40,"context_line":"libvirt_service_name: libvirt-bin"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3f79a3b5_bfbc02b5","line":37,"range":{"start_line":37,"start_character":23,"end_line":37,"end_character":28},"updated":"2018-09-09 18:40:00.000000000","message":"UCA rocky only exists for bionic - this will probably need more subtle treatment than this  to work for both bionic and xenial?","commit_id":"331bcf194d0598c0b2f0ffbf748fa5e112e22ea1"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"c7bb8d34e5173b37838a310cf15e958c4f2c558a","unresolved":false,"context_lines":[{"line_number":34,"context_line":"ceph_apt_repo_url: \"http://{{ ceph_apt_repo_url_region }}.ceph.com/debian-{{ ceph_stable_release }}/\""},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# Ubuntu Cloud Archive variables"},{"line_number":37,"context_line":"uca_openstack_release: rocky"},{"line_number":38,"context_line":"uca_repo_dist: \"{{ ansible_lsb.codename }}-updates/{{ uca_openstack_release }}\""},{"line_number":39,"context_line":"libvirt_package: libvirt-bin"},{"line_number":40,"context_line":"libvirt_service_name: libvirt-bin"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3f79a3b5_6276d1a6","line":37,"range":{"start_line":37,"start_character":23,"end_line":37,"end_character":28},"in_reply_to":"3f79a3b5_bfbc02b5","updated":"2018-09-09 20:07:08.000000000","message":"Ah, good point.\n\nThere are a number of ways to go about this. One is to do something like:\n\n  uca_openstack_release: \u003e-\n    {%- if ansible_lsb.codename \u003d\u003d \u0027trusty\u0027 %}\n    mitaka\n    {%- elif ansible_lsb.codename \u003d\u003d \u0027xenial\u0027 %}\n    queens\n    {%- else %}\n    rocky\n    {%- endif %}\n\nAnother is perhaps to just do:\n\n  uca_openstack_release: \"{{ (ansible_lsb.codename \u003d\u003d \u0027xenial\u0027) | ternary(\u0027queens\u0027, \u0027rocky\u0027) }}\"\n\nOr perhaps another way, which I kinda like, is to drop managing the repo altogether in this role and use whatever is already on the host. This is a total change in behavior though, so it\u0027d require a release note and some consideration for how to deal with setting up a container. Perhaps the decision of a ceph repo to add should be in openstack_hosts with the others? I\u0027m not entirely sure what\u0027s best.","commit_id":"331bcf194d0598c0b2f0ffbf748fa5e112e22ea1"}]}
