Skip to content

Commit 79cce58

Browse files
chore: Fix nat_rule documentation
1 parent 48d9448 commit 79cce58

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

plugins/modules/panos_nat_rule.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
DOCUMENTATION = """
2323
---
24-
module: panos_nat_rule2
24+
module: panos_nat_rule
2525
short_description: Manage a NAT rule
2626
description:
2727
- Manage a policy NAT rule.
@@ -30,6 +30,8 @@
3030
using I(state=merged) will likely result in an error. Using I(state=merged)
3131
will work as normal for simple operations, such as adding additional IP addresses
3232
to any of the listings or changing simple variable types.
33+
- NOTE This module was previously named 'panos_nat_rule2', but the old module has been
34+
deprecated in version 4.0.0.
3335
author:
3436
- Garfield Lee Freeman (@shinmog)
3537
version_added: '2.10.0'
@@ -235,7 +237,7 @@
235237

236238
EXAMPLES = """
237239
- name: add a nat rule
238-
paloaltonetworks.panos.panos_nat_rule2:
240+
paloaltonetworks.panos.panos_nat_rule:
239241
provider: '{{ provider }}'
240242
name: 'myRule'
241243
description: 'Made by Ansible'

0 commit comments

Comments
 (0)