Closed sboudjema closed 4 years ago
I can be assigned to this.
@sachaboudjema thanks for the use case and the contribution!
Ansible connection plugin will be used for ClearPass Ansible module in the near future which will eliminate the generation of access token at every task.
The respective PR is verified and merged. Closing the issue!
It would be nice to be able to set the access token directly instead of having to enter client credentials. This way you don't have to pass the credentials around, you just ask an admin for a 3h token and you can have your fun.
It also would have the advantage of not generating a token for each call to the module.
A call could then look like this: