diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-01-18 14:37:36 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-01-18 14:37:36 -0500 |
commit | c170904a45967e76bb3609cb196f1762106a2850 (patch) | |
tree | 4d65b515792a7f252e9d540476ed6b2cdda0898e /utils/src/ooinstall | |
parent | a5cddd2e98dd3d23dcefd1bb72d88c6bcb373fea (diff) | |
parent | eb6cb4ff6cdd050bf20386a948d03814f069fe5a (diff) | |
download | openshift-c170904a45967e76bb3609cb196f1762106a2850.tar.gz openshift-c170904a45967e76bb3609cb196f1762106a2850.tar.bz2 openshift-c170904a45967e76bb3609cb196f1762106a2850.tar.xz openshift-c170904a45967e76bb3609cb196f1762106a2850.zip |
Merge pull request #1205 from smunilla/containerized_inventory
atomic-openshift-installer: add containerized to inventory
Diffstat (limited to 'utils/src/ooinstall')
-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. |