diff --git a/ansible/roles/prechecks/tasks/host_os_checks.yml b/ansible/roles/prechecks/tasks/host_os_checks.yml index 0538419215..1d49932e3f 100644 --- a/ansible/roles/prechecks/tasks/host_os_checks.yml +++ b/ansible/roles/prechecks/tasks/host_os_checks.yml @@ -9,8 +9,9 @@ - name: Checking host OS release or version fail: msg: >- - {{ ansible_distribution }} release {{ ansible_distribution_release }} is - not supported. Supported releases are: + {{ ansible_distribution }} release {{ ansible_distribution_release }} + version {{ ansible_distribution_version }} is not supported. + Supported releases are: {{ host_os_distributions[ansible_distribution] | join(', ') }} when: - ansible_distribution_release not in host_os_distributions[ansible_distribution]