community.general.memset_server_info – Retrieve server information.¶
Note
This plugin is part of the community.general collection (version 2.5.1).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.memset_server_info
.
Synopsis¶
Retrieve server information.
This module was called
memset_server_facts
before Ansible 2.9. The usage did not change.
Parameters¶
Parameter | Choices/Defaults | Comments |
---|---|---|
api_key
string
/ required
|
The API key obtained from the Memset control panel.
|
|
name
string
/ required
|
The server product name (i.e.
testyaa1 ). |
Notes¶
Note
An API key generated via the Memset customer control panel is needed with the following minimum scope - server.info.
Examples¶
- name: Get details for testyaa1
community.general.memset_server_info:
name: testyaa1
api_key: 5eb86c9896ab03919abcf03857163741
delegate_to: localhost
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Simon Weald (@glitchcrab)