1
0
mirror of https://github.com/openshift/openshift-ansible-contrib.git synced 2026-02-05 09:45:58 +01:00

Adding set_fact header to the task.

This commit is contained in:
Matt Bruzek
2017-10-18 13:18:51 -05:00
parent 5333e2117b
commit 8750a05b95

View File

@@ -14,6 +14,7 @@
# The hostname module does not work on RHEL version 7.5 with Ansible versions < 2.5
- name: Checking if this version of RHEL is affected by the hostname problem
set_fact:
rhel75: "{{ (ansible_distribution == 'RedHat') and (ansible_distribution_version | version_compare('7.5', '>=')) }}"
- name: Setting hostname and DNS domain