Skip to content

Commit

Permalink
error out panorama connections
Browse files Browse the repository at this point in the history
  • Loading branch information
FoSix committed Oct 27, 2023
1 parent cdc339c commit 5c647e6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion plugins/modules/panos_active_in_ha.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
- pandevice can be obtained from PyPI U(https://pypi.python.org/pypi/pandevice)
- pan-os-upgrade-assurance can be obtained from PyPI U(https://pypi.org/project/panos-upgrade-assurance)
notes:
- Only Firewalls are supported.
- Panorama is not supported.
- Check mode is not supported.
extends_documentation_fragment:
- paloaltonetworks.panos.fragments.transitional_provider
Expand Down Expand Up @@ -113,6 +113,7 @@ def main():
force_fail=dict(type="bool", default=False),
skip_config_sync=dict(type="bool", default=False),
),
panorama_error="This is a firewall only module"
)

module = AnsibleModule(
Expand Down
3 changes: 2 additions & 1 deletion plugins/modules/panos_readiness_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
- pandevice can be obtained from PyPI U(https://pypi.python.org/pypi/pandevice)
- pan-os-upgrade-assurance can be obtained from PyPI U(https://pypi.org/project/panos-upgrade-assurance)
notes:
- Only Firewalls are supported.
- Panorama is not supported.
- Check mode is not supported.
extends_documentation_fragment:
- paloaltonetworks.panos.fragments.transitional_provider
Expand Down Expand Up @@ -165,6 +165,7 @@ def main():
force_fail=dict(type="bool", default=False),
skip_force_locale=dict(type="bool", default=False),
),
panorama_error="This is a firewall only module"
)

module = AnsibleModule(
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/panos_snapshot_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
- pandevice can be obtained from PyPI U(https://pypi.python.org/pypi/pandevice)
- pan-os-upgrade-assurance can be obtained from PyPI U(https://pypi.python.org/pypi/pan-os-upgrade-assurance)
notes:
- Only Firewalls are supported.
- This is an offline module, no device connection is made.
- Check mode is not supported.
options:
left_snapshot:
Expand Down
3 changes: 2 additions & 1 deletion plugins/modules/panos_state_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
- pandevice can be obtained from PyPI U(https://pypi.python.org/pypi/pandevice)
- pan-os-upgrade-assurance can be obtained from PyPI U(https://pypi.python.org/pypi/pan-os-upgrade-assurance)
notes:
- Only Firewalls are supported.
- Panorama is not supported.
- Check mode is not supported.
extends_documentation_fragment:
- paloaltonetworks.panos.fragments.transitional_provider
Expand Down Expand Up @@ -135,6 +135,7 @@ def main():
argument_spec=dict(
state_areas=dict(type="list", default=["all"], elements="str")
),
panorama_error="This is a firewall only module"
)

module = AnsibleModule(
Expand Down

0 comments on commit 5c647e6

Please sign in to comment.