community.general.hetzner_firewall_info – Manage Hetzner’s dedicated server firewall¶
Note
This plugin is part of the community.general collection (version 1.3.6).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.hetzner_firewall_info
.
New in version 0.2.0: of community.general
Parameters¶
See Also¶
See also
- Firewall documentation
Hetzner’s documentation on the stateless firewall for dedicated servers
- community.general.hetzner_firewall
Configure firewall.
Examples¶
- name: Get firewall configuration for server with main IP 1.2.3.4
community.general.hetzner_firewall_info:
hetzner_user: foo
hetzner_password: bar
server_ip: 1.2.3.4
register: result
- ansible.builtin.debug:
msg: "{{ result.firewall }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Felix Fontein (@felixfontein)