hetzner.hcloud icon indicating copy to clipboard operation
hetzner.hcloud copied to clipboard

Add support for esp in hetzner.hcloud.hcloud_firewall

Open s4ke opened this issue 1 year ago • 0 comments

SUMMARY

Add support for esp in hetzner.hcloud.hcloud_firewall

The following does not work atm:

- name: Create swarm-servers firewall
  hetzner.hcloud.hcloud_firewall:
    name: swarm-servers
    api_token: "{{ hcloud_token }}"
    rules:
       - direction: in
         protocol: esp
         source_ips:
           - 192.168.0.0/16
         description: allow all esp traffic in private networks
    state: present

We are getting this error:

fatal: [localhost]: FAILED! => {"changed": false, "msg": "value of protocol must be one of: icmp, udp, tcp, got: esp found in rules"}
ISSUE TYPE
  • Feature Idea
COMPONENT NAME

hetzner.hcloud.hcloud_firewall

ADDITIONAL INFORMATION

s4ke avatar Oct 22 '22 11:10 s4ke