diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2016-06-08 16:59:54 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2017-02-10 10:53:43 +0100 |
commit | 595f0f307aeb78de499891f21b99057a6e6b17f0 (patch) | |
tree | 2e4179deabde8c08b8a403cd69ea654fcc18d326 /roles/openshift_facts/tasks | |
parent | fc96d8d22f6c277b599e6e2fa4e9cc06814a9460 (diff) | |
download | openshift-595f0f307aeb78de499891f21b99057a6e6b17f0.tar.gz openshift-595f0f307aeb78de499891f21b99057a6e6b17f0.tar.bz2 openshift-595f0f307aeb78de499891f21b99057a6e6b17f0.tar.xz openshift-595f0f307aeb78de499891f21b99057a6e6b17f0.zip |
atomic-openshift: install as a system container
Use use_system_containers=true in the inventory file
alternatively you can select each component as:
use_openvswitch_system_container=true
use_node_system_container=true
use_master_system_container=true
system_images_registry holds the registry from where to fetch system
containers.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'roles/openshift_facts/tasks')
-rw-r--r-- | roles/openshift_facts/tasks/main.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/openshift_facts/tasks/main.yml b/roles/openshift_facts/tasks/main.yml index b7b521f1a..bf1a94e85 100644 --- a/roles/openshift_facts/tasks/main.yml +++ b/roles/openshift_facts/tasks/main.yml @@ -9,6 +9,9 @@ l_is_atomic: "{{ ostree_booted.stat.exists }}" - set_fact: l_is_containerized: "{{ (l_is_atomic | bool) or (containerized | default(false) | bool) }}" + l_is_openvswitch_system_container: "{{ (use_openvswitch_system_container | default(use_system_containers) | bool) }}" + l_is_node_system_container: "{{ (use_node_system_container | default(use_system_containers) | bool) }}" + l_is_master_system_container: "{{ (use_master_system_container | default(use_system_containers) | bool) }}" - name: Ensure various deps are installed package: name={{ item }} state=present @@ -27,6 +30,10 @@ hostname: "{{ openshift_hostname | default(None) }}" ip: "{{ openshift_ip | default(None) }}" is_containerized: "{{ l_is_containerized | default(None) }}" + is_openvswitch_system_container: "{{ l_is_openvswitch_system_container | default(false) }}" + is_node_system_container: "{{ l_is_node_system_container | default(false) }}" + is_master_system_container: "{{ l_is_master_system_container | default(false) }}" + system_images_registry: "{{ system_images_registry | default('') }}" public_hostname: "{{ openshift_public_hostname | default(None) }}" public_ip: "{{ openshift_public_ip | default(None) }}" portal_net: "{{ openshift_portal_net | default(openshift_master_portal_net) | default(None) }}" |