ansible / product-demos

GNU General Public License v3.0
184 stars 183 forks source link

always install yum utils #76

Open willtome opened 1 year ago

willtome commented 1 year ago

add check_mode: false to yum utils install for linux patching

willtome commented 9 months ago

https://github.com/ansible/product-demos/blob/d5093fa5449864e6ad59ffc2d8478e30cf218213/linux/patching.yml#L10

yum-utils should always install regardless of check mode or not because it is required to run the needs-restarting command here https://github.com/ansible/product-demos/blob/d5093fa5449864e6ad59ffc2d8478e30cf218213/collections/ansible_collections/demo/patching/roles/patch_linux/tasks/main.yml#L27C28-L27C44