summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks/upgrade/rpm_upgrade_install.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_node/tasks/upgrade/rpm_upgrade_install.yml')
-rw-r--r--roles/openshift_node/tasks/upgrade/rpm_upgrade_install.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/upgrade/rpm_upgrade_install.yml b/roles/openshift_node/tasks/upgrade/rpm_upgrade_install.yml
new file mode 100644
index 000000000..ef5d8d662
--- /dev/null
+++ b/roles/openshift_node/tasks/upgrade/rpm_upgrade_install.yml
@@ -0,0 +1,19 @@
+---
+# input variables:
+# - openshift_service_type
+# - component
+# - openshift_pkg_version
+# - openshift_is_atomic
+
+# Install the pre-pulled RPM
+# Note: dnsmasq is covered in it's own play. openvswitch is included here
+# because once we have the latest rpm downloaded, it will happily be installed.
+- name: download new node packages
+ command: "{{ ansible_pkg_mgr }} install -C -y {{ openshift_node_upgrade_rpm_list | join(' ')}}"
+ register: result
+ until: result is succeeded
+ vars:
+ openshift_node_upgrade_rpm_list:
+ - "{{ openshift_service_type }}-node{{ openshift_pkg_version | default('') }}"
+ - "PyYAML"
+ - "openvswitch"