blob: ed42f69faeb8ed741f9e03fcb33cd595369c75fc (
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
45
46
47
|
---
# determine if yum install of master pkgs will work
- when:
- not containerized
block:
- name: main packages for enterprise
when:
- deployment_type == "openshift-enterprise"
check_yum_update:
packages:
- atomic-openshift
- atomic-openshift-clients
- atomic-openshift-master
register: r
- set_fact:
oo_preflight_check_results: "{{ oo_preflight_check_results + [r|combine({'_task': 'main packages for enterprise'})] }}"
- name: main packages for origin
when:
- deployment_type == "origin"
check_yum_update:
packages:
- origin
- origin-clients
- origin-master
register: r
- set_fact:
oo_preflight_check_results: "{{ oo_preflight_check_results + [r|combine({'_task': 'main packages for origin'})] }}"
- name: other master packages
check_yum_update:
packages:
- etcd
- bash-completion
- cockpit-bridge
- cockpit-docker
- cockpit-kubernetes
- cockpit-shell
- cockpit-ws
- httpd-tools
register: r
- set_fact:
oo_preflight_check_results: "{{ oo_preflight_check_results + [r|combine({'_task': 'other master packages'})] }}"
|