community.general.layman – Manage Gentoo overlays
community.general.layman – Manage Gentoo overlays
Note
This plugin is part of the community.general collection (version 1.3.2).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.layman
.
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 string |
An URL of the alternative overlays list that defines the overlay to install. This list will be fetched and saved under
| |
name string / required |
The overlay id to install, synchronize, or uninstall. Use 'ALL' to sync all of the installed overlays (can be used only when | |
state string |
|
Whether to install ( |
validate_certs boolean |
|
If |
Examples
- name: Install the overlay mozilla which is on the central overlays list
community.general.layman:
name: mozilla
- name: Install the overlay cvut from the specified alternative list
community.general.layman:
name: cvut
list_url: 'http://raw.github.com/cvut/gentoo-overlay/master/overlay.xml'
- name: Update (sync) the overlay cvut or install if not installed yet
community.general.layman:
name: cvut
list_url: 'http://raw.github.com/cvut/gentoo-overlay/master/overlay.xml'
state: updated
- name: Update (sync) all of the installed overlays
community.general.layman:
name: ALL
state: updated
- name: Uninstall the overlay cvut
community.general.layman:
name: cvut
state: absent
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.10/collections/community/general/layman_module.html