diff options
author | Samuel Munilla <smunilla@redhat.com> | 2016-01-18 11:13:22 -0500 |
---|---|---|
committer | Samuel Munilla <smunilla@redhat.com> | 2016-01-18 11:18:49 -0500 |
commit | eb6cb4ff6cdd050bf20386a948d03814f069fe5a (patch) | |
tree | d55ca2818c175704e548904d6c35c748134e9536 /utils/src | |
parent | bb1f8aa029078238cf32b038c8bffacb13c3765e (diff) | |
download | openshift-eb6cb4ff6cdd050bf20386a948d03814f069fe5a.tar.gz openshift-eb6cb4ff6cdd050bf20386a948d03814f069fe5a.tar.bz2 openshift-eb6cb4ff6cdd050bf20386a948d03814f069fe5a.tar.xz openshift-eb6cb4ff6cdd050bf20386a948d03814f069fe5a.zip |
atomic-openshift-installer: add containerized to inventory
Updates to actually check the containerized setting and add it
to the inventory.
Diffstat (limited to 'utils/src')
-rw-r--r-- | utils/src/ooinstall/openshift_ansible.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/src/ooinstall/openshift_ansible.py b/utils/src/ooinstall/openshift_ansible.py index 20401f812..c0d115fdc 100644 --- a/utils/src/ooinstall/openshift_ansible.py +++ b/utils/src/ooinstall/openshift_ansible.py @@ -128,6 +128,8 @@ def write_host(host, inventory, schedulable=None): facts += ' openshift_hostname={}'.format(host.hostname) if host.public_hostname: facts += ' openshift_public_hostname={}'.format(host.public_hostname) + if host.containerized: + facts += ' containerized={}'.format(host.containerized) # TODO: For not write_host is handles both master and nodes. # Technically only nodes will ever need this. |