Fix error introduced in previous commit - skip task if no file found.

This commit is contained in:
Jeff Geerling 2020-07-24 17:23:51 -05:00
parent 1496cf8f92
commit 9751de2e2a

View File

@ -3,8 +3,9 @@
- name: Include distribution and version-specific vars.
include_vars: "{{ item }}"
with_first_found:
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
- files:
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
skip: true
- name: Set the default PHP version for Debian-based OSes.
set_fact:
php_default_version_debian: "{{ __php_default_version_debian }}"