)]}'
{"tasks/main.yml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"59888a5a2aac3f58a37e950dc5c569fbafb8891a","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":"- name: Gather variables for each operating system"},{"line_number":17,"context_line":"  include_vars: \"{{ item }}\""},{"line_number":18,"context_line":"  with_first_found:"},{"line_number":19,"context_line":"    - \"{{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}.yml\""},{"line_number":20,"context_line":"    - \"{{ ansible_distribution | lower }}.yml\""},{"line_number":21,"context_line":"    - \"{{ ansible_os_family | lower }}.yml\""},{"line_number":22,"context_line":"  tags:"},{"line_number":23,"context_line":"    - always"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- include: ovs_install.yml"},{"line_number":26,"context_line":"  when:"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"bab6814e_a769f527","line":23,"range":{"start_line":16,"start_character":0,"end_line":23,"end_character":12},"updated":"2016-05-24 13:52:56.000000000","message":"This task should be changed like so: \n\n- name: Gather variables for each operating system\n  include_vars: \"{{ item }}\"\n  with_first_found:\n    - \"{{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}.yml\"\n    - \"{{ ansible_distribution | lower }}.yml\"\n    - \"{{ ansible_os_family | lower }}-{{ ansible_distribution_version.split(\u0027.\u0027)[0] }}.yml\"\n    - \"{{ ansible_os_family | lower }}.yml\"\n  tags:\n    - always\n\nThis is the pattern that ensure we the role can source a variable file using the distro name without or without an exact distribution version or the family with or without the major distribution version. This is the pattern being used in all of the roles we have which support ubuntu14/16.04, and RHEL7.","commit_id":"00edf35468615456578c835f92297ba5015d819e"}]}
