blob: 35fb1e3ca7e3b1d5788716b1fd87911104b616c2 (
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
|
---
# determine if yum install of master pkgs will work
- when: not openshift.common.is_containerized | bool
block:
- name: main master packages availability
check_yum_update:
packages:
- "{{ openshift.common.service_type }}"
- "{{ openshift.common.service_type }}-clients"
- "{{ openshift.common.service_type }}-master"
register: r
- set_fact:
oo_preflight_check_results: "{{ oo_preflight_check_results + [r|combine({'_task': 'main master packages availability'})] }}"
- name: other master packages availability
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 availability'})] }}"
|