yum - Manages packages with the yum package manager — Ansible ...
docs.ansible.com › ansible › 2-name: install the latest version of Apache yum: name: httpd state: latest-name: remove the Apache package yum: name: httpd state: absent-name: install the latest version of Apache from the testing repo yum: name: httpd enablerepo: testing state: present-name: install one specific version of Apache yum: name: httpd-2.2.29-1.4.amzn1 state: present-name: upgrade all packages yum: name: '*' state: latest-name: install the nginx rpm from a remote repo yum: name: http://nginx.org/packages/centos ...
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 ...