)]}'
{"tests/configure-mirrors.yaml":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"c658d7c07db5d1865d0f782d19d1f16d1a060940","unresolved":false,"context_lines":[{"line_number":11,"context_line":"        state: \"present\""},{"line_number":12,"context_line":"      become: yes"},{"line_number":13,"context_line":"      when: not ansible_distribution \u003d\u003d \u0027Gentoo\u0027"},{"line_number":14,"context_line":"    - name: Install a package to sanity check the mirror configuration"},{"line_number":15,"context_line":"      package:"},{"line_number":16,"context_line":"        name: \"app-editors/emacs\""},{"line_number":17,"context_line":"        state: \"present\""}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f79a3b5_db0f4e37","line":14,"updated":"2018-09-26 01:16:41.000000000","message":"I\u0027d prefer to see this not repeated and just use a variable","commit_id":"656b2078bbe12d21e34521997acad1759c622eaf"},{"author":{"_account_id":14288,"name":"Matthew Thode","display_name":"prometheanfire","email":"mthode@mthode.org","username":"prometheanfire"},"change_message_id":"fdf013143764c77cc909d3ad89280a0b6dc2b712","unresolved":false,"context_lines":[{"line_number":11,"context_line":"        state: \"present\""},{"line_number":12,"context_line":"      become: yes"},{"line_number":13,"context_line":"      when: not ansible_distribution \u003d\u003d \u0027Gentoo\u0027"},{"line_number":14,"context_line":"    - name: Install a package to sanity check the mirror configuration"},{"line_number":15,"context_line":"      package:"},{"line_number":16,"context_line":"        name: \"app-editors/emacs\""},{"line_number":17,"context_line":"        state: \"present\""}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f79a3b5_f6849f0d","line":14,"in_reply_to":"3f79a3b5_961d2b12","updated":"2018-09-26 01:54:52.000000000","message":"transient facts, eww :P  I\u0027ll do it if it gets me the vote though","commit_id":"656b2078bbe12d21e34521997acad1759c622eaf"},{"author":{"_account_id":14288,"name":"Matthew Thode","display_name":"prometheanfire","email":"mthode@mthode.org","username":"prometheanfire"},"change_message_id":"b9aa1ac4d0043f2c310ff1730e04d35209333b8f","unresolved":false,"context_lines":[{"line_number":11,"context_line":"        state: \"present\""},{"line_number":12,"context_line":"      become: yes"},{"line_number":13,"context_line":"      when: not ansible_distribution \u003d\u003d \u0027Gentoo\u0027"},{"line_number":14,"context_line":"    - name: Install a package to sanity check the mirror configuration"},{"line_number":15,"context_line":"      package:"},{"line_number":16,"context_line":"        name: \"app-editors/emacs\""},{"line_number":17,"context_line":"        state: \"present\""}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f79a3b5_f609ff2a","line":14,"in_reply_to":"3f79a3b5_db0f4e37","updated":"2018-09-26 01:21:54.000000000","message":"The name was kept the same as it\u0027s doing the same thing, one !gentoo, one gentoo.  I also didn\u0027t see a way to use \u0027when\u0027 with a \u0027with\u0027 statement.","commit_id":"656b2078bbe12d21e34521997acad1759c622eaf"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"79e495336c8db7bace69ff175e7ba94d2ecdb6d9","unresolved":false,"context_lines":[{"line_number":11,"context_line":"        state: \"present\""},{"line_number":12,"context_line":"      become: yes"},{"line_number":13,"context_line":"      when: not ansible_distribution \u003d\u003d \u0027Gentoo\u0027"},{"line_number":14,"context_line":"    - name: Install a package to sanity check the mirror configuration"},{"line_number":15,"context_line":"      package:"},{"line_number":16,"context_line":"        name: \"app-editors/emacs\""},{"line_number":17,"context_line":"        state: \"present\""}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f79a3b5_961d2b12","line":14,"in_reply_to":"3f79a3b5_f609ff2a","updated":"2018-09-26 01:52:04.000000000","message":"Without having to do a full variable import as we do in other places, you could do\n\n - name: Set emacs package\n   set_fact:\n     emacs_package: app-editors/emacs\n   when: ansible_distribution \u003d\u003d \u0027Gentoo\u0027\n\nThen do\n\n package:\n   name: \u0027{{ emacs_package | default(\u0027emacs\u0027) }}\u0027\n\nand follow DRY","commit_id":"656b2078bbe12d21e34521997acad1759c622eaf"}]}
