rpm_upgrade.yml 491 B

12345678910
  1. # We verified latest rpm available is suitable, so just yum update.
  2. - name: Upgrade packages
  3. action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-{{ component }}{{ openshift_pkg_version }} state=present"
  4. - name: Ensure python-yaml present for config upgrade
  5. action: "{{ ansible_pkg_mgr }} name=PyYAML state=present"
  6. when: not openshift.common.is_atomic | bool
  7. - name: Restart node service
  8. service: name="{{ openshift.common.service_type }}-node" state=restarted