kembitnl / kembitnl.pmp / 1.1.6 / lookup / getaccount Generates a list of accounts that start with a pattern Authors: unknownkembitnl.pmp.getaccount (1.1.6) — lookup
Install with ansible-galaxy collection install kembitnl.pmp:==1.1.6
collections: - name: kembitnl.pmp version: 1.1.6
This lookup plugin retrieves all accounts that start with a given string in a resource.
The PMP URL and authtoken must be set in environment variables PMP_URL and PMP_AUTHTOKEN.
orgName: description: The name of the organization. If omitted, the default organization will be used. required: false type: str resourceName: description: The name of the resource required: true type: str accountPattern: description: The start of the accountname to search for required: true type: str
accountlist: description: A comma-separated list with accounts matching the pattern, or an empty string if no matches are found returned: on success sample: - svc-vmware,svc-ldap,svc-application - '' type: str