From fc2a5ae4ab07a54192d8d4fd5dd4553cee13e64e Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Fri, 10 Aug 2018 12:39:24 +0200 Subject: [PATCH] Migrate tripleo-packages service to ansible package module It is not necessary to exclude specific Ceph packages when running yum update in Rocky so this change removes the --exclude argument. Note that it also removes update_cache which is not supported by the 'package' module. Change-Id: I8465f16415e69b1932726cdc1644a53370364708 --- puppet/services/tripleo-packages.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/puppet/services/tripleo-packages.yaml b/puppet/services/tripleo-packages.yaml index 63521d1cea..0561caac06 100644 --- a/puppet/services/tripleo-packages.yaml +++ b/puppet/services/tripleo-packages.yaml @@ -94,7 +94,7 @@ outputs: - os_net_config_has_config.rc == 0 - name: Update all packages when: step|int == 3 - yum: name=* state=latest exclude=ceph*,librados*,librbd*,libcephfs*,librgw*,python-rados*,python-rbd*,python-cephfs*,python-rgw*,rbd-mirror + pacakge: name=* state=latest update_tasks: - name: Check for existing yum.pid stat: path=/var/run/yum.pid @@ -104,7 +104,7 @@ outputs: fail: msg="ERROR existing yum.pid detected - can't continue! Please ensure there is no other package update process for the duration of the minor update worfklow. Exiting." when: (step|int == 0 or step|int == 3) and yum_pid_file.stat.exists - name: Update all packages - yum: name=* state=latest update_cache=yes exclude=ceph*,librados*,librbd*,libcephfs*,librgw*,python-rados*,python-rbd*,python-cephfs*,python-rgw*,rbd-mirror # cache for tripleo/+bug/1703830 + package: name=* state=latest when: step == "3" fast_forward_upgrade_tasks: - name: Register repo type and args