blob: d2864e6b814ee86d09937e0aab628037707c0877 (
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
|
---
# input variables:
# - openshift_service_type
# - component
# - openshift_pkg_version
# - openshift.common.is_atomic
# Pre-pull new node rpm, but don't install
- name: download new node packages
command: "{{ ansible_pkg_mgr }} install -y --downloadonly {{ openshift_node_upgrade_rpm_list | join(' ')}}"
register: result
until: result | success
vars:
openshift_node_upgrade_rpm_list:
- "{{ openshift_service_type }}-node{{ openshift_pkg_version }}"
- "PyYAML"
- "dnsmasq"
# Pre-pull the rpms for openvswitch, but don't install
# openvswitch requires the latest version to be installed.
- name: download openvswitch upgrade rpm
command: "{{ ansible_pkg_mgr }} update -y --downloadonly openvswitch"
register: result
until: result | success
|