portage_cfg
portage-cfg
A role to manage a bunch of portage config files.
Role Variables
portage_ansible_managed_filename
: In cases where paths like/etc/portage/package.accept_keywords
are directories, a file with this name will be created in the corresponding path to include the requested line. [Default:ansible_managed
]portage_accept_keywords
: List of keywords to accept. Example:
portage_accept_keywords:
- atom: app-admin/ansible
keyword: ~amd64
# If `name` is specified, file with that name is created inside the `portage.accept_keywords` directory.
name: some_filename
portage_accept_license
: List of licenses to accept. Example:
portage_accept_license:
- atom: app-editors/visual-studio-code
license: MS-vscode-EULA license
# If `name` is specified, file with that name is created inside the `portage.accept_keywords` directory.
name: some_filename
portage_unmask
: List of lines to add topackage.unmask
file or to a file inside that directory.portage_mask
: List of lines to add topackage.mask
file or to a file inside that directory.portage_sets
: List of sets to create, each set is also added toworld_sets
. Example:
portage_sets:
- name: fonts
packages:
- media-fonts/corefonts
portage_package_use
: List of uses. Each "item" creates a new file under/etc/portage/package.use
with its name. Example:
portage_package_use:
- name: ansible
uses:
- use: dev-python/ipython -qt5
comments:
- This pulls a bunch of crap
portage_world
: List of packages to add toworld
file.portage_make
: List of custom lines to append tomake.conf
. Example:
portage_make:
- name: LINGUAS
value:
- en
- es
License
BSD
Install
ansible-galaxy install someone-stole-my-name/portage-cfg
License
Unknown
Downloads
107
Owner