summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks/upgrade/rpm_upgrade_install.yml
blob: ef5d8d662c215f17be43f969228845d9c47551eb (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_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 is succeeded
  vars:
    openshift_node_upgrade_rpm_list:
      - "{{ openshift_service_type }}-node{{ openshift_pkg_version | default('') }}"
      - "PyYAML"
      - "openvswitch"