)]}'
{"tasks/openstack_hosts_configure_apt.yml":[{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"fe94ac16667a28c552aebacd6c03dc32351bf415","unresolved":false,"context_lines":[{"line_number":44,"context_line":"- name: Remove any old UCA repository using the old filename"},{"line_number":45,"context_line":"  file:"},{"line_number":46,"context_line":"    path: \"{{ uca_apt_source_list_filename | default(\u0027ubuntu_cloud_archive_canonical_com_ubuntu\u0027) }}\""},{"line_number":47,"context_line":"    state: absent"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"# When updating the cache in the apt_repository"},{"line_number":50,"context_line":"# task, and the update fails, a retry does not"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"df7087c5_088fc62a","line":47,"updated":"2018-03-08 14:50:33.000000000","message":"The problem is that ansible\u0027s apt_repository module doesn\u0027t just look for the repository filename, it looks for the repo definition in the file. So if you say, remove repoX from file1, it will remove repoX from any file, not just file1. The following task was removing the queens UCA repo and adding it back every time the role ran. I added this task to remove the file to avoid the next task always being marked as changed.","commit_id":"72ae290e1013d5357f97fb4a669863c2f7eecccd"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"80b1170c728838d96ebd8c87419a890cda6f1bc8","unresolved":false,"context_lines":[{"line_number":41,"context_line":"    update_cache: yes"},{"line_number":42,"context_line":"    cache_valid_time: \"{{ cache_timeout }}\""},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"- name: Remove any old UCA repository using the old filename"},{"line_number":45,"context_line":"  file:"},{"line_number":46,"context_line":"    path: \"{{ uca_apt_source_list_filename | default(\u0027ubuntu_cloud_archive_canonical_com_ubuntu\u0027) }}\""},{"line_number":47,"context_line":"    state: absent"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"# When updating the cache in the apt_repository"},{"line_number":50,"context_line":"# task, and the update fails, a retry does not"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"df7087c5_a8cb3aa3","line":47,"range":{"start_line":44,"start_character":0,"end_line":47,"end_character":17},"updated":"2018-03-08 14:46:29.000000000","message":"Why not including this into next task?\n\nWe should only have one way to do things.","commit_id":"72ae290e1013d5357f97fb4a669863c2f7eecccd"}],"tests/test.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"80b1170c728838d96ebd8c87419a890cda6f1bc8","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        marker: \"\""},{"line_number":34,"context_line":"      changed_when: false"},{"line_number":35,"context_line":"      when:"},{"line_number":36,"context_line":"        - \"\u0027idempotence\u0027 not in lookup(\u0027env\u0027, \u0027ANSIBLE_LOG_PATH\u0027)\""},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"# Prepare the user ssh keys"},{"line_number":39,"context_line":"- include: common/test-prepare-keys.yml"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"df7087c5_28540aca","line":36,"range":{"start_line":36,"start_character":10,"end_line":36,"end_character":66},"updated":"2018-03-08 14:46:29.000000000","message":"\" lookup(\u0027env\u0027, \u0027TEST_IDEMPOTENCE\u0027) | bool \" ?","commit_id":"72ae290e1013d5357f97fb4a669863c2f7eecccd"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"fe94ac16667a28c552aebacd6c03dc32351bf415","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        marker: \"\""},{"line_number":34,"context_line":"      changed_when: false"},{"line_number":35,"context_line":"      when:"},{"line_number":36,"context_line":"        - \"\u0027idempotence\u0027 not in lookup(\u0027env\u0027, \u0027ANSIBLE_LOG_PATH\u0027)\""},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"# Prepare the user ssh keys"},{"line_number":39,"context_line":"- include: common/test-prepare-keys.yml"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"df7087c5_e8893226","line":36,"updated":"2018-03-08 14:50:33.000000000","message":"I need a way to NOT run this when the idempotence test is running. The problem happens when these lines are added and the /etc/hosts task is run. The task that rebuilds /etc/hosts ALWAYS shows up as \"changed\" when the above task runs.","commit_id":"72ae290e1013d5357f97fb4a669863c2f7eecccd"}]}
