The below requirements are needed on the host that executes this module.
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 ${overlay_defs} /${name}.xml), where overlay_defs is readed from the Layman's configuration. | |
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=updated ). | |
state - |
| Whether to install ( present ), sync (updated ), or uninstall (absent ) the overlay. |
validate_certs boolean |
| If no , SSL certificates will not be validated. This should only be set to no when no other option exists. Prior to 1.9.3 the code defaulted to no . |
# 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
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/modules/layman_module.html