XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ansible with OIDC/OpenID

    Scheduled Pinned Locked Moved Infrastructure as Code
    3 Posts 2 Posters 422 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U Offline
      uxes
      last edited by

      Re: Ansible with Xen Orchestra

      I would like to ask, if anyone is using Ansible with community.general.xen_orchestra plugin and authenticating via oidc, we have connected our XenOrchestra to our Keycloak but currently, I am not able to connect with this oidc user

      79aa8e71-a318-4329-92b9-642868db03a4-obrazek.png

      plugin: community.general.xen_orchestra
      api_host: 192.168.1.100
      user: admin@admin.net ← required
      password: admin ← also required
      validate_certs: false
      use_ssl: true
      groups:
      
      T 1 Reply Last reply Reply Quote 0
      • T Offline
        TITUS MAXIMUS @uxes
        last edited by

        @uxes Are you able to supply any logs?

        U 1 Reply Last reply Reply Quote 0
        • U Offline
          uxes @TITUS MAXIMUS
          last edited by

          @TITUS-MAXIMUS
          what kind of logs would you like to see, there are none,
          since in sourcecode is only username and password option

          https://github.com/ansible-collections/community.general/blob/102a0857db23905cdfa2e2fdae531eb5d2043b9a/plugins/inventory/xen_orchestra.py#L169

          and it is also required to be filled in

          My question is, if there is a way to login with oidc just like in this plugin
          87f8c519-f4de-4677-9590-9dba4c22a0d3-obrazek.png
          https://docs.ansible.com/ansible/latest/collections/netbox/netbox/nb_inventory_inventory.html

          1 Reply Last reply Reply Quote 0
          • First post
            Last post