How can we activate an authcode for a feature license in PA-VM firewall using ansible? I tried panos_lic module, but it did not worked.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

How can we activate an authcode for a feature license in PA-VM firewall using ansible? I tried panos_lic module, but it did not worked.

L0 Member

Hello All,

 

I am using ansible to deploy a bunch of PA-VMs. I have been using ansible to push various configurations to it including the base license. However, I am unable to update an authcode for a feature license (for example DNS) using the panos_lic module. May I know if anyone can share more thought on this? Basically I want to update feature license in PA-VM using ansible. Any help/guidance will be of great help !!

 

Regards,

Praveen 

2 REPLIES 2

L5 Sessionator

Hi @pprasannan, did you use force: true? This module is focused on applying auth codes for initial licensing of VM-Series when it has no serial number, so if your firewall has a serial number already and you are looking to add extra licenses like DNS, WildFire, etc, then it will skip the attempt to use the auth code. Try with that extra parameter, and then share the error messages or behaviour if it still does not work. Thanks

Help the community: "Like" helpful comments, and click "Accept as Solution" if you found your answer 🙂

Hello Jimmy,

Thanks a lot for your suggestion. I made this work through xml command but
I will definitely give this a try and update.

Thanks again for your suggestion.

Regards,
Praveen
  • 1205 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!