Преглед на файлове

Merge pull request #1205 from smunilla/containerized_inventory

atomic-openshift-installer: add containerized to inventory
Brenton Leanhardt преди 9 години
родител
ревизия
c170904a45
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      utils/src/ooinstall/openshift_ansible.py

+ 2 - 0
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.