summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks/upgrade/rpm_upgrade_install.yml
blob: 6390be55862fe04a9b322938e0e1af35b9222d65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
# input variables:
# - openshift_service_type
# - component
# - openshift_pkg_version
# - openshift.common.is_atomic

# Install the pre-pulled RPM
# Note: dnsmasq is covered in it's own play.  openvswitch is included here
# because once we have the latest rpm downloaded, it will happily be installed.
- name: download new node packages
  command: "{{ ansible_pkg_mgr }} install -C -y {{ 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"
      - "openvswitch"