diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-02-02 09:17:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-02 09:17:08 -0500 |
commit | 4dfe8c715bfc49a913d7c7bea80c475a9b50b41e (patch) | |
tree | 764be64a50670d9aeda1798ecdbe8746a14a7b4b /roles/openshift_node_upgrade/tasks/rpm_upgrade.yml | |
parent | c9480811d2222693abe4460ca42c292b289a0ef4 (diff) | |
parent | 43ecd7bf94d5be4209e46d66a9f9bd9614d85a76 (diff) | |
download | openshift-4dfe8c715bfc49a913d7c7bea80c475a9b50b41e.tar.gz openshift-4dfe8c715bfc49a913d7c7bea80c475a9b50b41e.tar.bz2 openshift-4dfe8c715bfc49a913d7c7bea80c475a9b50b41e.tar.xz openshift-4dfe8c715bfc49a913d7c7bea80c475a9b50b41e.zip |
Merge pull request #3242 from ingvagabund/create-node-upgrade-role
Move current node upgrade tasks under openshift_node_upgrade role
Diffstat (limited to 'roles/openshift_node_upgrade/tasks/rpm_upgrade.yml')
-rw-r--r-- | roles/openshift_node_upgrade/tasks/rpm_upgrade.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/openshift_node_upgrade/tasks/rpm_upgrade.yml b/roles/openshift_node_upgrade/tasks/rpm_upgrade.yml new file mode 100644 index 000000000..480e87d58 --- /dev/null +++ b/roles/openshift_node_upgrade/tasks/rpm_upgrade.yml @@ -0,0 +1,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 |