summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks/main.yml
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2016-06-08 16:59:54 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2017-02-10 10:53:43 +0100
commit595f0f307aeb78de499891f21b99057a6e6b17f0 (patch)
tree2e4179deabde8c08b8a403cd69ea654fcc18d326 /roles/openshift_master/tasks/main.yml
parentfc96d8d22f6c277b599e6e2fa4e9cc06814a9460 (diff)
downloadopenshift-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_master/tasks/main.yml')
-rw-r--r--roles/openshift_master/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 9cd6b6c81..2ef61cddf 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -131,6 +131,10 @@
- name: Install the systemd units
include: systemd_units.yml
+- name: Install Master system container
+ include: system_container.yml
+ when: openshift.common.is_containerized | bool and openshift.common.is_master_system_container | bool
+
- name: Create session secrets file
template:
dest: "{{ openshift.master.session_secrets_file }}"