Setup Gentoo Portage configuration such as sync URL or USE flags. It can be used to customize Gentoo stage3 installations as found in e.g. LXC/LXD container images.
This role must run against a Gentoo Linux with a minimally working portage setup.
Variable Name | Description |
---|---|
gentoo_portage__accept_keywords |
Set ACCEPT_KEYWORDS variable in /etc/portage/make.conf |
gentoo_portage__makeopts |
Set MAKEOPTS variable in /etc/portage/make.conf |
gentoo_portage__makeconf_vars |
Custom variable definitions for /etc/portage/make.conf |
gentoo_portage__profile |
Set Gentoo profile |
gentoo_portage__sync_uri |
Portage repository synchronization URL |
gentoo_portage__sync_type |
Portage synchronization type (e.g. git , rsync ) |
gentoo_portage__sync |
Synchronize portage repository after configuration update |
gentoo_portage__sync_force |
Force portage repository sync during role execution |
gentoo_portage__global_use_enable |
List of global USE flags to be enabled |
gentoo_portage__global_use_disable |
List of global USE flags to be disabled |
gentoo_portage__packages_default |
List of default packages to be installed |
gentoo_portage__packages |
List of user-defined packages to be installed |
gentoo_portage__packages_clean_sources |
Delete downloaded package source archives after installation |
For the default values of these variables check the defaults/main.yml
.
For a minimal setup simply include the role. The default configuration should be non-destructive to an existing Gentoo installation:
- hosts: all
roles:
- name: ganto.gentoo_portage
The ganto.gentoo_portage
role was written by Reto Gantenbein | e-mail | GitHub