mirror of
https://github.com/ansible-collections/hetzner.hcloud
synced 2024-11-10 06:34:13 +00:00
docs: fix firewall_resource
examples input parameters (#557)
In the example, we should use `firewall` instead of `name` as per the options described at the top of the documentation.
This commit is contained in:
parent
5b2aae8011
commit
b39d7626b5
1 changed files with 4 additions and 4 deletions
|
@ -48,7 +48,7 @@ extends_documentation_fragment:
|
||||||
EXAMPLES = """
|
EXAMPLES = """
|
||||||
- name: Apply a firewall to a list of servers
|
- name: Apply a firewall to a list of servers
|
||||||
hetzner.hcloud.firewall_resource:
|
hetzner.hcloud.firewall_resource:
|
||||||
name: my-firewall
|
firewall: my-firewall
|
||||||
servers:
|
servers:
|
||||||
- my-server
|
- my-server
|
||||||
- 3456789
|
- 3456789
|
||||||
|
@ -56,7 +56,7 @@ EXAMPLES = """
|
||||||
|
|
||||||
- name: Remove a firewall from a list of servers
|
- name: Remove a firewall from a list of servers
|
||||||
hetzner.hcloud.firewall_resource:
|
hetzner.hcloud.firewall_resource:
|
||||||
name: my-firewall
|
firewall: my-firewall
|
||||||
servers:
|
servers:
|
||||||
- my-server
|
- my-server
|
||||||
- 3456789
|
- 3456789
|
||||||
|
@ -64,14 +64,14 @@ EXAMPLES = """
|
||||||
|
|
||||||
- name: Apply a firewall to resources using label selectors
|
- name: Apply a firewall to resources using label selectors
|
||||||
hetzner.hcloud.firewall_resource:
|
hetzner.hcloud.firewall_resource:
|
||||||
name: my-firewall
|
firewall: my-firewall
|
||||||
label_selectors:
|
label_selectors:
|
||||||
- env=prod
|
- env=prod
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Remove a firewall from resources using label selectors
|
- name: Remove a firewall from resources using label selectors
|
||||||
hetzner.hcloud.firewall_resource:
|
hetzner.hcloud.firewall_resource:
|
||||||
name: my-firewall
|
firewall: my-firewall
|
||||||
label_selectors:
|
label_selectors:
|
||||||
- env=prod
|
- env=prod
|
||||||
state: absent
|
state: absent
|
||||||
|
|
Loading…
Reference in a new issue