community.hrobot.reset module – Reset a dedicated server
Note
This module is part of the community.hrobot collection (version 2.0.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
.
New in community.hrobot 1.2.0
Synopsis
- Reset a dedicated server with a software or hardware reset, or by requesting a manual reset.
Parameters
Parameter | Comments |
---|---|
hetzner_password string / required | The password for the Robot web-service user. |
hetzner_user string / required | The username for the Robot web-service user. |
reset_type string / required | How to reset the server.
Note that not every server supports every reset method! Choices:
|
server_number integer / required | The server number of the server to reset. |
Attributes
Attribute | Support | Description |
---|---|---|
action_group | Action group: community.hrobot.robot added in community.hrobot 1.6.0 | Use |
check_mode | Support: full | Can run in |
diff_mode | Support: none | Will return details on what has changed (or possibly needs changing in |
Examples
- name: Send ACPI signal to server to request controlled shutdown community.hrobot.reset: hetzner_user: foo hetzner_password: bar failover_ip: 1.2.3.4 state: power - name: Make sure that the server supports manual reset community.hrobot.reset: hetzner_user: foo hetzner_password: bar server_number: 1234 reset_type: manual check_mode: true - name: Request a manual reset (by a technican) community.hrobot.reset: hetzner_user: foo hetzner_password: bar server_number: 1234 reset_type: manual
Collection links
© 2012–2018 Michael DeHaan
© 2018–2024 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/hrobot/reset_module.html