Merge "Migrate tripleo-packages service to ansible package module"
This commit is contained in:
commit
6f651a5273
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user