Hello mobios,
the url for getting ansible roles from the api is
https://foreman_server/ansible/api/v2/ansible_roles .

You also should be able to access https://foreman_server/apidoc to see the
api documentation for your instance, which should also include docs for all
enabled plugins. Although I'm afraid the ansible api endpoints are not
described correctly there.

-- Adam

On Tue, Aug 29, 2017 at 9:33 AM, mobios <[email protected]> wrote:

>
>
> Hello Users,
>>
>
>    i swap from Foreman rest-api to directly query the Foreman database.
>    It works well.
>
>    Regards
>    mobios
>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to