cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
561
Views
0
Helpful
0
Replies

Problem with ansible cisco.ise module

paul000058
Level 1
Level 1

I am trying to use ansible to create a pxgrid account in ISE. I can do it successfully in postman with no issues. I turned on ISE debug in the playbook and looking at the url that ansible is creating it looks like the following: URL: https://10.10.10.10:8910/pxgrid/ise/radius/control/AccountCreate. I believe the issue is the /ise/radius part of the url that the cisco.ise module is creating. I have tried using the recommended versions of the cisco.ise module as well as the ciscoisesdk based on my version of ISE, 3.1.0. I also have tried the latest versions of both with the same result. I looked throught the cisco.ise module on github and I only see where it is creating the url and it seems to use the correct text. pxgridurl/control/AccountCreate. So, I am not sure where the ise/radius part of the url is being generated. Here is the code from the playbook. It returnd a 401 error. If I paste this url into postman I get the same 401 error. 

  - name: Create
    cisco.ise.pxgrid_account_create:
      ise_hostname: "{{ise_hostname}}"
      ise_username: "{{ise_username}}"
      ise_password: "{{ise_password}}"
      ise_verify: "{{ise_verify}}"
      ise_uses_api_gateway: false
      ise_debug: true
      ise_version: 3.1.0
      nodeName: MyName02
 
 
0 Replies 0