Ansible role handle portage configuration and package installation on gentoo instances.
- Gentoo
-
portage_configuration
: Array with gentoo's portage configuration. See default vars file -
portage_packages
: Array with packages to be installed. See default vars file
None.
- hosts: all
roles:
- role: vundb-portage
portage_configuration:
- section: 'package.use'
file: 'dev-lang-php'
entries:
- 'dev-lang/php gd'
- section: 'package.accept_keywords'
file: 'dev-lang-php'
entries:
- '>=dev-lang/php-7.0 ~amd64'
portage_packages:
- package: "dev-lang/php"
MIT