summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml
blob: af77f140f581cc2c8368f88c1811a3c031c9bad1 (plain)
1
2
3
4
5
6
7
# We verified latest rpm available is suitable, so just yum update.
- name: Upgrade packages
  action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-{{ component }}{{ openshift_pkg_version }} state=present"

- name: Ensure python-yaml present for config upgrade
  action: "{{ ansible_pkg_mgr }} name=PyYAML state=present"
  when: not openshift.common.is_atomic | bool