Created an Ansible task to activate licenses using an Auth-Code (code taken from manage_panos_software.yml)
Changed manage_panos_software.yml to use an include_tasks instead of the whole code block
Created an Ansible playbook that does all the device check and calls the licensing task
Created a skillet that runs the activation playbook
Created an Ansible task that sets the licensing API key for the NGFW (if not already set or if different than the current key set) and then calls to deactivate all licenses automatically
Created an Ansible playbook that does all the device check and calls the deactivation task
Created a skillet that runs the deactivation playbook
Updated the README
Added LICENSE
Cleaned up skillet and playbook names
Moved the skillets to their own folder
Updated the CI/CD pipeline to check if the skillets load
Motivation and Context
Needed a licensing specific module
How Has This Been Tested?
Tested the skillets (which call the playbooks and tasks) against a NGFW 10.0.4
Tested in order:
Full Up/Down
Deactivate licenses
Activate licenses
Content Update
Ran into NO errors and licensing was accomplished as expected
Types of changes
New feature (non-breaking change which adds functionality)
Checklist
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes if appropriate.
Description
manage_panos_software.yml
)manage_panos_software.yml
to use aninclude_tasks
instead of the whole code blockMotivation and Context
Needed a licensing specific module
How Has This Been Tested?
Types of changes
Checklist