rpm_upgrade.yml 479 B

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