summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_upgrade/tasks/rpm_upgrade.yml
blob: 480e87d581ece9d9d1e0fab0e17c35a18e249ac6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
# input variables:
# - openshift.common.service_type
# - component
# - openshift_pkg_version
# - openshift.common.is_atomic

# We verified latest rpm available is suitable, so just yum update.
- name: Upgrade packages
  package: "name={{ openshift.common.service_type }}-{{ component }}{{ openshift_pkg_version }} state=present"

- name: Ensure python-yaml present for config upgrade
  package: name=PyYAML state=present
  when: not openshift.common.is_atomic | bool