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