yum - Manages packages with the yum package manager — Ansible ...
docs.ansible.com › ansible › 2Dec 01, 2020 · Use the “yum group list” command to see which category of group the group you want to install falls into. Examples¶. -name:install the latest version of Apacheyum:name:httpdstate:latest-name:remove the Apache packageyum:name:httpdstate:absent-name:install the latest version of Apache from the testing repoyum:name:httpdenablerepo:testingstate:present-name:install one specific version of Apacheyum:name:httpd-2.2.29-1.4.amzn1state:present-name:upgrade all ...