1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Deprecating panos modules; pointing to Galaxy role (#52355)

* Deprecating panos modules; pointing to Galaxy role

* Updating porting guide; deprecating panos_set

* Changing 2.11 to 2.12
This commit is contained in:
Garfield Lee Freeman 2019-02-22 11:41:40 -08:00 committed by Nathaniel Case
parent 4e6ca4b21b
commit fb97204291
23 changed files with 197 additions and 28 deletions

View file

@ -144,6 +144,7 @@ The following modules will be removed in Ansible 2.12. Please update your playbo
* ``github_hooks`` use :ref:`github_webhook <github_webhook_module>` and :ref:`github_webhook_facts <github_webhook_facts_module>` instead. * ``github_hooks`` use :ref:`github_webhook <github_webhook_module>` and :ref:`github_webhook_facts <github_webhook_facts_module>` instead.
* ``digital_ocean`` use :ref `digital_ocean_droplet <digital_ocean_droplet_module>` instead. * ``digital_ocean`` use :ref `digital_ocean_droplet <digital_ocean_droplet_module>` instead.
* ``gce`` use :ref `gce_compute_instance <gce_compute_instance_module>` instead. * ``gce`` use :ref `gce_compute_instance <gce_compute_instance_module>` instead.
* ``panos`` use `Ansible Galaxy role <https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks>`_ instead.
Noteworthy module changes Noteworthy module changes
@ -199,6 +200,10 @@ Noteworthy module changes
* ``vmware_vm_facts`` used to return dict of dict with virtual machine's facts. Ansible 2.8 and onwards will return list of dict with virtual machine's facts. * ``vmware_vm_facts`` used to return dict of dict with virtual machine's facts. Ansible 2.8 and onwards will return list of dict with virtual machine's facts.
Please see module ``vmware_vm_facts`` documentation for example. Please see module ``vmware_vm_facts`` documentation for example.
* The ``panos`` modules have been deprecated in favor of using the Palo Alto Networks `Ansible Galaxy role
<https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks>`_. Contributions to the role can be made
`here <https://github.com/PaloAltoNetworks/ansible-pan>`_.
Plugins Plugins
======= =======

View file

@ -20,7 +20,7 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}
@ -35,6 +35,10 @@ author: "Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)"
version_added: "2.3" version_added: "2.3"
requirements: requirements:
- pan-python - pan-python
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
options: options:
admin_username: admin_username:
description: description:

View file

@ -30,6 +30,10 @@ author: "Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)"
version_added: "2.3" version_added: "2.3"
requirements: requirements:
- paramiko - paramiko
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
options: options:
ip_address: ip_address:
description: description:
@ -74,7 +78,7 @@ status:
''' '''
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}

View file

@ -30,6 +30,10 @@ author: "Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)"
version_added: "2.3" version_added: "2.3"
requirements: requirements:
- paramiko - paramiko
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
notes: notes:
- Checkmode is not supported. - Checkmode is not supported.
options: options:
@ -79,7 +83,7 @@ RETURN = '''
''' '''
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}

View file

@ -30,17 +30,21 @@ author: "Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)"
version_added: "2.3" version_added: "2.3"
requirements: requirements:
- pan-python - pan-python
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
options: options:
timeout: timeout:
description: description:
- timeout of API calls - timeout of API calls
required: false required: false
default: "0" default: 0
interval: interval:
description: description:
- time waited between checks - time waited between checks
required: false required: false
default: "0" default: 0
extends_documentation_fragment: panos extends_documentation_fragment: panos
''' '''
@ -68,7 +72,7 @@ RETURN = '''
''' '''
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}

View file

@ -34,6 +34,10 @@ author:
version_added: "2.3" version_added: "2.3"
requirements: requirements:
- pan-python - pan-python
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
options: options:
ip_address: ip_address:
description: description:
@ -119,7 +123,7 @@ panos_commit:
''' '''
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}

View file

@ -29,6 +29,10 @@ author: "Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)"
version_added: "2.3" version_added: "2.3"
requirements: requirements:
- pan-python - pan-python
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
options: options:
dag_name: dag_name:
description: description:
@ -60,7 +64,7 @@ RETURN = '''
''' '''
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}

View file

@ -21,7 +21,7 @@
# limitations under the License. # limitations under the License.
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}
DOCUMENTATION = ''' DOCUMENTATION = '''
@ -35,6 +35,10 @@ version_added: "2.5"
requirements: requirements:
- pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/) - pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/)
- pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/) - pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/)
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
notes: notes:
- Checkmode is not supported. - Checkmode is not supported.
- Panorama is not supported. - Panorama is not supported.

View file

@ -34,6 +34,10 @@ requirements:
- pan-python - pan-python
- requests - requests
- requests_toolbelt - requests_toolbelt
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
options: options:
category: category:
description: description:
@ -71,7 +75,7 @@ RETURN = '''
''' '''
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}

View file

@ -20,7 +20,7 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}
@ -34,6 +34,10 @@ author: "Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)"
version_added: "2.3" version_added: "2.3"
requirements: requirements:
- pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/) - pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/)
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
notes: notes:
- Checkmode is not supported. - Checkmode is not supported.
options: options:

View file

@ -31,6 +31,10 @@ author: "Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)"
version_added: "2.3" version_added: "2.3"
requirements: requirements:
- pan-python - pan-python
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
options: options:
auth_code: auth_code:
description: description:
@ -70,7 +74,7 @@ serialnumber:
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}

View file

@ -29,6 +29,10 @@ author: "Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)"
version_added: "2.3" version_added: "2.3"
requirements: requirements:
- pan-python - pan-python
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
options: options:
file: file:
description: description:
@ -62,7 +66,7 @@ RETURN = '''
''' '''
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}

View file

@ -21,7 +21,7 @@
# limitations under the License. # limitations under the License.
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}
DOCUMENTATION = ''' DOCUMENTATION = '''
@ -35,6 +35,10 @@ version_added: "2.5"
requirements: requirements:
- pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/) - pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/)
- pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/) - pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/)
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
notes: notes:
- Checkmode is not supported. - Checkmode is not supported.
- Panorama NOT is supported. - Panorama NOT is supported.
@ -57,7 +61,10 @@ options:
rule_type: rule_type:
description: description:
- Type of rule. Valid types are I(security) or I(nat). - Type of rule. Valid types are I(security) or I(nat).
default: "security" required: true
choices:
- security
- nat
source_zone: source_zone:
description: description:
- The source zone. - The source zone.

View file

@ -29,6 +29,10 @@ author: "Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)"
version_added: "2.3" version_added: "2.3"
requirements: requirements:
- pan-python - pan-python
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
options: options:
dns_server_primary: dns_server_primary:
description: description:
@ -66,7 +70,7 @@ RETURN = '''
''' '''
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}

View file

@ -19,6 +19,10 @@ version_added: "2.4"
requirements: requirements:
- pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/) - pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/)
- pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/) - pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/)
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
notes: notes:
- Checkmode is not supported. - Checkmode is not supported.
- Panorama is supported. - Panorama is supported.
@ -41,10 +45,22 @@ options:
operation: operation:
description: description:
- The action to be taken. Supported values are I(add)/I(update)/I(find)/I(delete). - The action to be taken. Supported values are I(add)/I(update)/I(find)/I(delete).
required: true
choices:
- add
- update
- delete
- find
devicegroup:
description:
- If Panorama, the device group to put this rule in.
rule_name: rule_name:
description: description:
- name of the SNAT rule - name of the SNAT rule
required: true required: true
description:
description:
- The description
source_zone: source_zone:
description: description:
- list of source zones - list of source zones
@ -68,10 +84,17 @@ options:
snat_type: snat_type:
description: description:
- type of source translation - type of source translation
choices:
- static-ip
- dynamic-ip-and-port
- dynamic-ip
snat_address_type: snat_address_type:
description: description:
- type of source translation. Supported values are I(translated-address)/I(translated-address). - type of source translation. Supported values are I(translated-address)/I(translated-address).
default: 'translated-address' default: 'interface-address'
choices:
- interface-address
- translated-address
snat_static_address: snat_static_address:
description: description:
- Source NAT translated address. Used with Static-IP translation. - Source NAT translated address. Used with Static-IP translation.
@ -95,6 +118,13 @@ options:
dnat_port: dnat_port:
description: description:
- dnat translated port - dnat translated port
tag_name:
description:
- Tag for the NAT rule.
to_interface:
description:
- Destination interface.
default: 'any'
commit: commit:
description: description:
- Commit configuration if changed. - Commit configuration if changed.
@ -126,7 +156,7 @@ RETURN = '''
''' '''
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}
# import pydevd # import pydevd

View file

@ -21,7 +21,7 @@
# limitations under the License. # limitations under the License.
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}
DOCUMENTATION = ''' DOCUMENTATION = '''
@ -36,6 +36,10 @@ version_added: "2.4"
requirements: requirements:
- pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/) - pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/)
- pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/) - pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/)
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
notes: notes:
- Checkmode is not supported. - Checkmode is not supported.
- Panorama is supported. - Panorama is supported.
@ -59,6 +63,11 @@ options:
description: description:
- The operation to be performed. Supported values are I(add)/I(delete)/I(find). - The operation to be performed. Supported values are I(add)/I(delete)/I(find).
required: true required: true
choices:
- add
- update
- delete
- find
addressobject: addressobject:
description: description:
- The name of the address object. - The name of the address object.
@ -68,6 +77,11 @@ options:
address_type: address_type:
description: description:
- The type of address object definition. Valid types are I(ip-netmask) and I(ip-range). - The type of address object definition. Valid types are I(ip-netmask) and I(ip-range).
default: 'ip-netmask'
choices:
- ip-netmask
- ip-range
- fqdn
addressgroup: addressgroup:
description: description:
- A static group of address objects or dynamic address group. - A static group of address objects or dynamic address group.
@ -89,6 +103,9 @@ options:
protocol: protocol:
description: description:
- The IP protocol to be used in a service object definition. Valid values are I(tcp) or I(udp). - The IP protocol to be used in a service object definition. Valid values are I(tcp) or I(udp).
choices:
- tcp
- udp
servicegroup: servicegroup:
description: description:
- A group of service objects. - A group of service objects.
@ -105,6 +122,23 @@ options:
description: > description: >
- The color of the tag object. Valid values are I(red, green, blue, yellow, copper, orange, purple, gray, - The color of the tag object. Valid values are I(red, green, blue, yellow, copper, orange, purple, gray,
light green, cyan, light gray, blue gray, lime, black, gold, and brown). light green, cyan, light gray, blue gray, lime, black, gold, and brown).
choices:
- red
- green
- blue
- yellow
- copper
- orange
- purple
- gray
- light green
- cyan
- light gray
- blue gray
- lime
- black
- gold
- brown
devicegroup: devicegroup:
description: > description: >
- The name of the Panorama device group. The group must exist on Panorama. If device group is not defined it - The name of the Panorama device group. The group must exist on Panorama. If device group is not defined it

View file

@ -20,7 +20,7 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}
DOCUMENTATION = ''' DOCUMENTATION = '''
@ -33,6 +33,10 @@ version_added: "2.5"
requirements: requirements:
- pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/) - pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/)
- pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/) - pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/)
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
notes: notes:
- Checkmode is NOT supported. - Checkmode is NOT supported.
- Panorama is NOT supported. - Panorama is NOT supported.

View file

@ -29,6 +29,10 @@ author: "Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)"
version_added: "2.3" version_added: "2.3"
requirements: requirements:
- pan-python - pan-python
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
options: options:
pg_name: pg_name:
description: description:
@ -80,7 +84,7 @@ RETURN = '''
''' '''
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}

View file

@ -21,7 +21,7 @@
# limitations under the License. # limitations under the License.
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}
DOCUMENTATION = ''' DOCUMENTATION = '''
@ -38,6 +38,10 @@ requirements:
- pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/) - pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/)
- pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/) - pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/)
- xmltodict can be obtains from PyPI U(https://pypi.org/project/xmltodict/) - xmltodict can be obtains from PyPI U(https://pypi.org/project/xmltodict/)
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
notes: notes:
- Checkmode is not supported. - Checkmode is not supported.
- Panorama is supported. - Panorama is supported.
@ -81,6 +85,9 @@ options:
protocol: protocol:
description: description:
- The protocol used to be queried. Must be either I(tcp) or I(udp). - The protocol used to be queried. Must be either I(tcp) or I(udp).
choices:
- tcp
- udp
tag_name: tag_name:
description: description:
- Name of the rule tag to be queried. - Name of the rule tag to be queried.

View file

@ -29,6 +29,10 @@ author: "Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)"
version_added: "2.3" version_added: "2.3"
requirements: requirements:
- pan-python - pan-python
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
extends_documentation_fragment: panos extends_documentation_fragment: panos
''' '''
@ -48,7 +52,7 @@ status:
''' '''
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}

View file

@ -31,6 +31,10 @@ requirements:
- pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/) - pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/)
- pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/) - pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/)
- xmltodict can be obtained from PyPI U(https://pypi.org/project/xmltodict/) - xmltodict can be obtained from PyPI U(https://pypi.org/project/xmltodict/)
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
options: options:
api_key: api_key:
description: description:
@ -39,10 +43,10 @@ options:
description: description:
- name of the dynamic address group - name of the dynamic address group
required: true required: true
static_match_filter: sag_match_filter:
description: description:
- Static filter user by the address group - Static filter user by the address group
required: true type: list
devicegroup: devicegroup:
description: > description: >
- The name of the Panorama device group. The group must exist on Panorama. If device group is not defined - The name of the Panorama device group. The group must exist on Panorama. If device group is not defined
@ -62,6 +66,10 @@ options:
description: description:
- The operation to perform Supported values are I(add)/I(list)/I(delete). - The operation to perform Supported values are I(add)/I(list)/I(delete).
required: true required: true
choices:
- add
- list
- delete
extends_documentation_fragment: panos extends_documentation_fragment: panos
''' '''
@ -81,7 +89,7 @@ RETURN = '''
''' '''
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}
from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.basic import AnsibleModule

View file

@ -8,7 +8,7 @@ __metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}
@ -26,6 +26,10 @@ requirements:
- pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/) - pan-python can be obtained from PyPI U(https://pypi.org/project/pan-python/)
- pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/) - pandevice can be obtained from PyPI U(https://pypi.org/project/pandevice/)
- xmltodict can be obtained from PyPI U(https://pypi.org/project/xmltodict/) - xmltodict can be obtained from PyPI U(https://pypi.org/project/xmltodict/)
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
notes: notes:
- Checkmode is not supported. - Checkmode is not supported.
- Panorama is supported. - Panorama is supported.
@ -49,6 +53,16 @@ options:
description: description:
- The action to be taken. Supported values are I(add)/I(update)/I(find)/I(delete). - The action to be taken. Supported values are I(add)/I(update)/I(find)/I(delete).
default: 'add' default: 'add'
choices:
- add
- update
- delete
- find
category:
description:
- The category.
type: list
default: ['any']
rule_name: rule_name:
description: description:
- Name of the security rule. - Name of the security rule.

View file

@ -41,6 +41,10 @@ description:
- The 'element' is "<timezone>Australia/Melbourne</timezone>" - The 'element' is "<timezone>Australia/Melbourne</timezone>"
author: "Jasper Mackenzie (@spmp)" author: "Jasper Mackenzie (@spmp)"
version_added: "2.7" version_added: "2.7"
deprecated:
alternative: Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
removed_in: "2.12"
why: Consolidating code base.
requirements: requirements:
- pan-python - pan-python
options: options:
@ -99,7 +103,7 @@ RETURN = '''
''' '''
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}
from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.basic import AnsibleModule