layman – Manage Gentoo overlays
layman – Manage Gentoo overlays
New in version 1.6.
Synopsis
- Uses Layman to manage an additional repositories for the Portage package manager on Gentoo Linux. Please note that Layman must be installed on a managed node prior using this module.
Requirements
The below requirements are needed on the host that executes this module.
- python >= 2.6
- layman python module
Parameters
Parameter | Choices/Defaults | Comments |
---|---|---|
list_url - |
An URL of the alternative overlays list that defines the overlay to install. This list will be fetched and saved under | |
name - / required |
The overlay id to install, synchronize, or uninstall. Use 'ALL' to sync all of the installed overlays (can be used only when | |
state - |
|
Whether to install ( |
validate_certs boolean added in 1.9.3 |
|
If |
Examples
# Install the overlay 'mozilla' which is on the central overlays list.
- layman:
name: mozilla
# Install the overlay 'cvut' from the specified alternative list.
- layman:
name: cvut
list_url: 'http://raw.github.com/cvut/gentoo-overlay/master/overlay.xml'
# Update (sync) the overlay 'cvut', or install if not installed yet.
- layman:
name: cvut
list_url: 'http://raw.github.com/cvut/gentoo-overlay/master/overlay.xml'
state: updated
# Update (sync) all of the installed overlays.
- layman:
name: ALL
state: updated
# Uninstall the overlay 'cvut'.
- layman:
name: cvut
state: absent
Status
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by the Ansible Community. [community]
Authors
- Jakub Jirutka (@jirutka)
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.7/modules/layman_module.html