community.hrobot.reset_info module – Query information on the resetter of a dedicated server
Note
This module is part of the community.hrobot collection (version 2.5.2).
You might already have this collection installed if you are using the ansible package.
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install community.hrobot.
To use it in a playbook, specify: community.hrobot.reset_info.
New in community.hrobot 2.2.0
Synopsis
- Query information on the resetter of a dedicated server. 
Parameters
| Parameter | Comments | 
|---|---|
| The password for the Robot web-service user. | |
| The username for the Robot web-service user. | |
| Timeout (in seconds) for waiting when rate limit exceeded errors are returned. Set to  Set to a negative value like  Default:  | |
| The server number of the server to query its resetter. | 
Attributes
| Attribute | Support | Description | 
|---|---|---|
| Action group: community.hrobot.robot | Use  | |
| Support: full This action does not modify state. | Can run in  | |
| Support: N/A This action does not modify state. | Will return details on what has changed (or possibly needs changing in  | |
| Support: full This action does not modify state. | When run twice in a row outside check mode, with the same arguments, the second invocation indicates no change. This assumes that the system controlled/queried by the module has not changed in a relevant way. | 
See Also
See also
- community.hrobot.reset
- Reset dedicated server. 
Examples
---
- name: Query resetter information for server 1234
  community.hrobot.reset_info:
    hetzner_user: foo
    hetzner_password: bar
    server_number: 1234
  register: result
- name: Show reset methods
  ansible.builtin.debug:
    msg: "{{ result.reset.type }}"
Return Values
Common return values are documented here, the following are the fields unique to this module:
| Key | Description | 
|---|---|
| Information on the server’s resetter. Returned: success | |
| The server’s operating status. Returned: success Sample:  | |
| The primary IPv4 address of the server. Returned: success Sample:  | |
| The primary IPv6 network of the server. Returned: success Sample:  | |
| The server’s ID. Returned: success Sample:  | |
| The reset types supported by the resetter. Can be used for the  Returned: success Can only return: 
 Sample:  | 
