2.4 KiB
2.4 KiB
title | type |
---|---|
packages | docs |
Setup package repositories.
Requirements
- Minimum Ansible version:
2.1
Default Variables
packages_enablerepo
Default value
packages_enablerepo: []
packages_install
Default value
packages_install: []
packages_install_extra
Default value
packages_install_extra: []
packages_repofiles_remove
Default value
packages_repofiles_remove: []
packages_uninstall
Default value
packages_uninstall:
- setroubleshoot
- mcstransd
- xinetd
- ypbind
- telnet
packages_uninstall_extra
Default value
packages_uninstall_extra: []
packages_upgrade_enabled
Default value
packages_upgrade_enabled: false
packages_yum_repositories
Default value
packages_yum_repositories: []
Example usage
packages_yum_repositories:
- name: epel
filename: Extra-EPEL
desc: Extra Packages for Enterprise Linux (EPEL)
baseurl: "http://download.fedoraproject.org/pub/epel/$releasever/$basearch/"
gpgkey: "http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-$releasever/"
enabled: True
packages_yum_repositories_extra
Default value
packages_yum_repositories_extra: []
Dependencies
None.