summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_upgrade/tasks/systemd_units.yml
blob: 4e95501509f171a9cca660e13f961b2ddf28a823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
# input variables
# - openshift.node.node_image
# - openshift_image_tag
# - openshift.common.is_containerized
# - openshift.node.ovs_image
# - openshift.common.use_openshift_sdn
# - openshift.common.service_type
# - openshift.node.debug_level
# - openshift.common.config_base
# - openshift.common.http_proxy
# - openshift.common.portal_net
# - openshift.common
# - openshift.common.http_proxy
# notify:
# - restart openvswitch
# - restart node

# This file is included both in the openshift_master role and in the upgrade
# playbooks.
- include: config/install-node-deps-docker-service-file.yml
  when: openshift.common.is_containerized | bool

- include: config/install-node-docker-service-file.yml
  when: openshift.common.is_containerized | bool

- include: config/install-ovs-service-env-file.yml
  when: openshift.common.is_containerized | bool

- include: config/workaround-bz1331590-ovs-oom-fix.yml
  when: openshift.common.use_openshift_sdn | default(true) | bool

- include: config/install-ovs-docker-service-file.yml
  when: openshift.common.is_containerized | bool and openshift.common.use_openshift_sdn | default(true) | bool

- include: config/configure-node-settings.yml
- include: config/configure-proxy-settings.yml