blob: a929e4a6ad8e4f908e2887c7562fce3ce4d80fee (
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
38
39
40
41
42
43
44
|
---
- include: ../../../../common/openshift-cluster/evaluate_groups.yml
vars:
g_etcd_hosts: "{{ groups.etcd | default([]) }}"
g_master_hosts: "{{ groups.masters | default([]) }}"
g_new_master_hosts: []
g_nfs_hosts: "{{ groups.nfs | default([]) }}"
g_node_hosts: "{{ groups.nodes | default([]) }}"
g_lb_hosts: "{{ groups.lb | default([]) }}"
g_all_hosts: "{{ groups.masters | default([]) | union(groups.nodes | default([])) | union(groups.etcd | default([]))
| union(groups.lb | default([])) | union(groups.nfs | default([])) }}"
openshift_cluster_id: "{{ cluster_id | default('default') }}"
openshift_deployment_type: "{{ deployment_type }}"
- name: Set oo_options
hosts: oo_all_hosts
tasks:
- set_fact:
openshift_docker_additional_registries: "{{ lookup('oo_option', 'docker_additional_registries') }}"
when: openshift_docker_additional_registries is not defined
- set_fact:
openshift_docker_insecure_registries: "{{ lookup('oo_option', 'docker_insecure_registries') }}"
when: openshift_docker_insecure_registries is not defined
- set_fact:
openshift_docker_blocked_registries: "{{ lookup('oo_option', 'docker_blocked_registries') }}"
when: openshift_docker_blocked_registries is not defined
- set_fact:
openshift_docker_options: "{{ lookup('oo_option', 'docker_options') }}"
when: openshift_docker_options is not defined
- set_fact:
openshift_docker_log_driver: "{{ lookup('oo_option', 'docker_log_driver') }}"
when: openshift_docker_log_driver is not defined
- set_fact:
openshift_docker_log_options: "{{ lookup('oo_option', 'docker_log_options') }}"
when: openshift_docker_log_options is not defined
- include: ../../../../common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml
vars:
openshift_deployment_type: "{{ deployment_type }}"
- include: ../../../../common/openshift-cluster/upgrades/v3_1_to_v3_2/upgrade.yml
vars:
openshift_deployment_type: "{{ deployment_type }}"
- include: ../../../openshift-master/restart.yml
- include: ../../../../common/openshift-cluster/upgrades/v3_1_to_v3_2/post.yml
|