Release History¶
V2.4.1¶
Released: 2020-02-27
Bug Fixes:
panos_aggregate_interfacepanos_match_rule
V2.4.0¶
Released: 2020-01-17
New modules:
panos_pbf_rulepanos_gre_tunnelpanos_nat_rule_facts
Enhancements:
panos_aggregate_interfacehas had its params fixedpanos_ike_gatewaydoes not force peer_id_check anymorepanos_softwarehas new flags allowing just download or just installpanos_object_factshas new search optionsVarious bug and doc fixes / updates
V2.3.0¶
Released: 2019-12-09
New modules:
panos_virtual_wirepanos_aggregate_interfacepanos_ha
Enhancements:
panos_opnow reportschanged=Falsefor safe commandspanos_l3_subinterfacecan now create aggregate subinterfacespanos_commitcan now perform partial commitspanos_type_cmdnow reportschanged=Falsefor safe commandspanos_bgpnow supportsenableanddisableas statespanos_match_ruleshould now work with rules that came from Panorama
Bug Fixes:
panos_ike_gatewaypanos_mgtconfigpanos_bgp_authpanos_vlan
New modules:
panos_virtual_wire
Enhancements:
add list of op commands that will not produce changes
Add list of type commands that will not produce changes
Return output from commands in
panos_type_cmdFixed
panos_commitreturning changed as True, even if a commit was not performed.
V2.2.3¶
Released: 2019-07-09
Bug fixes:
Fixed
create_default_routehandling with bothpanos_interfaceandpanos_l3_subinterface
V2.2.2¶
Released: 2019-06-18
Bug fixes:
Fixed module handling when targeting Panorama template stacks
V2.2.1¶
Released: 2019-06-12
Bug fixes:
Fixed
panos_l3_subinterfaceDHCP handling to matchpanos_interface
V2.2.0¶
Released: 2019-06-11
New modules:
panos_zone_factspanos_ipsec_ipv4_proxyidpanos_virtual_router_factspanos_l3_subinterfacepanos_l2_subinterfacepanos_log_forwarding_profilepanos_log_forwarding_profile_match_listpanos_log_forwarding_profile_match_list_actionpanos_email_profilepanos_email_serverpanos_snmp_profilepanos_snmp_v2c_serverpanos_snmp_v3_serverpanos_syslog_profilepanos_syslog_serverpanos_http_profilepanos_http_profile_headerpanos_http_profile_parampanos_http_serverpanos_type_cmd
Enhancements:
panos_security_rule_factscan now return full policy info.
Bug fixes:
Added module encoding to all modules.
Various documentation fixes.
V2.1.2¶
Released: 2019-05-24
Enhancements:
panos_registered_ip_factscan now filter on IP addresses (in addition to tags)All modules: Panorama commits can now still push to a device group even if a Panorama commit is unnecessary
panos_nat_rule: Changed the default location to unspecified instead of bottom
Bug fixes:
panos_bgp: Added the “state” param to this modulepanos_facts: Corrected virtual router output name to use underscores
V2.1.1¶
Released: 2019-05-08
Status: Released
Minor bug fix with
panos_opDocumentation tweaks
V2.1.0¶
Released: 2019-04-26
Status: Released
New modules:
panos_security_rule_factspanos_vlanpanos_vlan_interface
The following shorthand applies to this version’s updates:
provider- Any module below that lists a change ofprovidermeans that it supports a new provider dict for PAN-OS authentication credentials in addition to the oldip_address/username/password/api_key. Additionally these modules now support Panorama to firewall connections, performed by specifying Panorama IP address, username, and password, then specifying a firewall’s serial number using theserial_numberparam in theproviderdict.removed operation- This module has had the oldoperationparam removed in favor ofstate. Please update your playbooks to usestateinstead.template support- This module now supports Panorama templates.full template support- This module now supports both Panorama templates and template stacks.vsys support- This module now includes support for specifying the firewall vsys.checkmode- This module now supports Ansible’s check mode.
Given the above shorthand, the following modules have been updated as follows:
panos_address_group: provider; checkmodepanos_address_object: provider; checkmodepanos_administrator: provider; full template support; checkmode; Now supports supplying the password hash directlypanos_api_key: providerpanos_bgp: provider; full template support; checkmodepanos_bgp_aggregate: provider; full template support; checkmodepanos_bgp_auth: provider; full template support; checkmode;replaceis deprecated as this is now the default behavior forstate=applypanos_bgp_conditional_advertisement: provider; full template support; checkmode;advertise_filterandnon_exist_filterhave been deprecated, add filters usingpanos_bgp_policy_filterinsteadpanos_bgp_dampening: provider; full template support; checkmodepanos_bgp_peer: provider; full template support; checkmodepanos_bgp_peer_group: provider; full template support; checkmodepanos_bgp_policy_filter: provider; full template support; checkmode; “state=return-object” has been deprecated, just use states of absent/present like other modules as normal;address_prefixcan now be a dict with “name”/”exact” keys or a stringpanos_bgp_policy_rule: provider; full template support; checkmode;address_prefixcan now be a dict with “name”/”exact” keys or a stringpanos_bgp_redistribute: provider; full template support; checkmodepanos_check: provider; fixed #183; fixed #311panos_commit: provider; addedinclude_templateparam;devicegroupis deprecated, usedevice_groupinsteadpanos_facts: provider; fixed bug when running against VM NGFW;hosthas been removed, useproviderinsteadpanos_ike_crypto_profile: provider; full template support; checkmodepanos_ike_gateway: provider; full template support; checkmode; many params have been aliased to new param names to better match thepandevicenamingpanos_interface: provider; template support; checkmode; removed operation; fixed #193; fixed #266; fixed #267;vsys_dgis deprecated, usevsysinsteadpanos_ipsec_profile: provider; full template support; checkmodepanos_ipsec_tunnel: provider; full template support; checkmode; many new params added to support missing functionality added in, please refer to the module documentation for the complete list of params now supportedpanos_lic: provider; added new outputlicensespanos_loopback_interface: provider; template support; checkmode;vsys_dgis deprecated; usevsysinsteadpanos_management_profile: provider; full template support; checkmode;panorama_templateis deprecated, usetemplateinsteadpanos_match_rule: provider;vsys_idis deprecated, usevsys; fixed #248; outputstdout_linesis deprecated, useruleinstead (note: this has a different format, so please update your playbooks)panos_mgtconfig: provider; checkmode;devicegroupis removed as this param was not doing anything; addedverify_update_serverpanos_nat_rule: provider; removed operation; checkmode;devicegroupis deprecated, usedevice_group;tag_name(string type) is deprecated, usetag(list type); addedenableanddisabletypes for thestateparampanos_object_facts: provider; added support for name regexes and a newobjectsoutputpanos_op: providerpanos_pg: provider; added Panorama support; addedstatepanos_redistribution: provider; full template support; checkmodepanos_registered_ip: provider; vsys support; checkmodepanos_registered_ip_facts: provider; vsys supportpanos_restart: providerpanos_security_rule: provider; removed operation; checkmode;devicegroupis deprecated, usedevice_groupinsteadpanos_service_group: provider; checkmodepanos_service_object: provider; checkmodepanos_software: provider; checkmodepanos_static_route: provider; full template support; added nexthop type of “next-vr”panos_tag_object: provider; checkmodepanos_tunnel: provider; template support; checkmode;vsys_dgis deprecated, usevsysinsteadpanos_userid: provider; removed operation;stateadded as a parampanos_virtual_router: provider; full template support; checkmodepanos_zone: provider; full template support; checkmode
Generic updates across all modules mentioned above:
The minimum version of
pandeviceto run all “provider” modules is 0.9.1Cleaned up module documentation
The following modules have been deprecated:
panos_adminpanos_dagpanos_query_rulespanos_sag
The following modules have not been modified:
panos_admpwdpanos_cert_gen_sshpanos_dag_tagspanos_importpanos_loadcfgpanos_object
V2.0.4¶
Released: 2019-03-11
Status: Released (minor)
Fixes the DHCP param handling of panos_interface
V2.0.3¶
Released: 2019-03-04
Status: Released
New modules
panos_api_key: retrieve api_key for username/password combination
panos_bgp: Manages basic BGP configuration settings
panos_bgp_aggregate: Manages BGP Aggregation Policy Rules
panos_bgp_auth: Manages BGP Authentication Profiles
panos_bgp_conditional_advertisement: Manages BGP Conditional Advertisement Policy Rules
panos_bgp_dampening: Manages BGP Dampening Profiles
panos_bgp_peer: Manages BGP Peers
panos_bgp_peer_group: Manages BGP Peer Groups
panos_bgp_policy_filter: Manages BGP Policy Filters, children of Aggregate and Conditional Advertisement
panos_bgp_policy_rule: Manage BGP Import/Export Rules
panos_bgp_redistribute: Manages BGP Redistribution Rules
panos_loopback_interface: manage loopback interfaces
panos_redistribution: Manages virtual router Redistribution Profiles
Refactored modules
panos_ike_gateway: fixed misspelling of passive_mode and added additional module arguments to support more advanced configurations
V2.0.1¶
Released: 2018-10-08
Status: Released (minor)
This is minor release to address issue https://github.com/PaloAltoNetworks/ansible-pan/issues/163
V2.0.0¶
Released: 2018-09-27
Status: Released
New modules
panos_administrator: Manages Panorama / NGFW administrators
panos_registered_ip: Use this instead of panos_dag_tags
panos_registered_ip_facts: Use this instead of panos_dag_tags
panos_address_object: Use this instead of panos_object
panos_address_group: Use this instead of panos_object
panos_service_object: Use this instead of panos_object
panos_service_group: Use this instead of panos_object
panos_tag_object: Use this instead of panos_object
panos_object_facts: Get facts about objects
Removed modules
Refactored modules
Now supporting state / idempotency
panos_interface
panos_nat_rule
panos_security_rule
Miscellanies / Fixes
merged Ansible role repo together with this one
https://github.com/PaloAltoNetworks/ansible-pan/issues/44
adding beta support for connections lib
https://github.com/PaloAltoNetworks/ansible-pan/issues/150
V1.0.8¶
Released: 2018-09-13
Status: Released
New modules
panos_management_profile: Manages interface management profiles
panos_ike_crypto_profile: Use the IKE Crypto Profiles page to specify protocols and algorithms for identification, authentication, and encryption (IKEv1 or IKEv2, Phase 1).
panos_ipsec_profile: Configures IPSec Crypto profile on the firewall with subset of settings.
panos_ike_gateway: Configures IKE gateway on the firewall with subset of settings.
panos_ipsec_tunnel: Configure data-port (DP) network interface for DHCP. By default DP interfaces are static.
Removed modules
Refactored modules
Miscellanies
panos_security_rule - New [log_setting]{.title-ref} param added to specify the log forwarding profile to be used
re-wrote documentation
V1.0.7¶
Released: 2018-05-03
Status: Released
New modules
panos_userid: added ability to (un)register userid with ip address
panos_software: Upgrade and downgrade PAN-OS on firewalls and Panorama.
panos_userid: added ability to (un)register userid with ip address
panos_static_route: ability to manipulate static routing tables
Removed modules
N/A
Refactored modules
panos\_interface: Added full support for static configuration of ethernet interfaces
: - <https://github.com/PaloAltoNetworks/ansible-pan/pull/61>
Add functionality to list static address groups
: - <https://github.com/PaloAltoNetworks/ansible-pan/pull/64>
Pass api\_key to pandevice
: - <https://github.com/PaloAltoNetworks/ansible-pan/pull/63>
panos\_security\_rule: Security Policy position/order
: - <https://github.com/PaloAltoNetworks/ansible-pan/issues/14>
panos\_security\_rule: unable to add security policies in Post rule
: - <https://github.com/PaloAltoNetworks/ansible-pan/issues/38>
Miscellanies - https://github.com/PaloAltoNetworks/ansible-pan/pull/78 - https://github.com/PaloAltoNetworks/ansible-pan/issues/22
V1.0.6¶
Released: 2018-2-6
Status: Released
New modules
N/A
Removed modules
N/A
Miscellanies
Synchronized repository with RedHat Ansible official repo. Added missing modules:
: - panos\_op.py
- panos\_dag\_tags.py
- panos\_query\_rules.py
- panos\_match\_rule.py
Closed issues
V1.0.5¶
Released: 2017-12-20
Status: Released
New modules
panos_op: OP commands module that allows execution of the arbitrary op commands on the PANOS devices
Refactored modules
N/A
Removed modules
N/A
Miscellanies
N/A
Closed issues
#36 https://github.com/PaloAltoNetworks/ansible-pan/issues/36
V1.0.4¶
Released: 2017-08-31
Status: Released
New modules
panos_sag: Added the ability to add / delete static address groups.
panos\_dag\_tags: A new module to create registered IP to tag associations
: Implemented the ability to create / delete / list IP to tag
associations
panos_security_rule
panos_nat_rule
Refactored modules
panos_restart refactored to use PanDevice internally; supports Panorama
panos_mgtconfig refactored to use PanDevice internally; added support for NTP servers config
panos\_dag: Converted the module to use pandevice
: Also added the ability to perform create / delete / list
Removed modules
panos_nat_policy (Use panos_nat_rule)
panos_nat_security_policy (use panos_security_rule)
panos_service (use panos_object)
Miscellanies
removed deprecated_libraries folder
consolidated all samples from samples/ into examples/
synchronized repo with core Ansible distribution
V1.0.3¶
Minor release with documentation updates and few BUG fixes.
V1.0.2¶
Released: 2017-04-13
Another major refactor in order to streamline the code.
Refactored modules
panos_address --> panos_object
panos_match_rule
panos_nat_policy --> panos_nat_rule
panos_query_rules
panos_security_policy --> panos_security_rule
panos_service --> panos_object
V1.0.1¶
Released: 2017-02-15
Status: Release
All modules have been touched and refactored to adhere to Ansible module development practices. Documentatio has been added as well as sample playbooks for each module.
Refactored modules (now part of core Ansible)
panos_admin
panos_admpwd
panos_commit
panos_restart
panos_cert_gen_ssh
panos_check
panos_dag
panos_service
panos_mgtconfig
panos_import
panos_loadcfg
panos_pg
panos_lic
panos_interface
New modules
panos_address
panos_security_policy
Deprecated modules
panos_srule
panos_content
panos_swinstall
panos_tunnelif
panos_cstapphost
panos_gpp_gateway
panos_vulnprofile
panos_swapif
panos_vulnprofile
V1.0.0¶
Released: 2016-11-27
Status: Release
First release that adheres to the Ansible development practices, now part of the Ansible core development. The modules have been completely refactored. Some retired and some new modules created.
V0.1.3¶
Released: 2015-12-09
Status: Alpha
Bug fixes and documentation updates
Alpha¶
Released: 2015-07-28
Status: Alpha
First alpha and documentation