XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. luizhpriotto
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 4
    • Groups 0

    luizhpriotto

    @luizhpriotto

    3
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    luizhpriotto Unfollow Follow

    Best posts made by luizhpriotto

    • RE: Ansible dynamic inventory and XO

      @olivierlambert exactly!

      posted in Xen Orchestra
      luizhpriottoL
      luizhpriotto
    • RE: Ansible dynamic inventory and XO

      @olivierlambert in Ansible we have to create a static file with groups and ip of vms to run owner playbooks.

      My solution is a simple way to create this file using tags like groups and getting the ip automagically, like this:

      [kub] #xo tag
      192.168.1.152 #vm ip
      192.168.1.42 #vm ip

      [worker]
      192.168.1.152

      [2021.01]
      192.168.1.152

      [XOA]
      192.168.1.152

      [master]
      192.168.1.4

      posted in Xen Orchestra
      luizhpriottoL
      luizhpriotto
    • RE: Ansible dynamic inventory and XO

      @olivierlambert @kirovtome I have created a simple way to return the dynamic inventory to use on Ansible. https://github.com/luizhpriotto/xenorchestra_inventory

      I think the https://github.com/vtsingaras/xenorchestra_inventory doesn't work anymore.

      Thanks.

      posted in Xen Orchestra
      luizhpriottoL
      luizhpriotto

    Latest posts made by luizhpriotto

    • RE: Ansible dynamic inventory and XO

      @olivierlambert exactly!

      posted in Xen Orchestra
      luizhpriottoL
      luizhpriotto
    • RE: Ansible dynamic inventory and XO

      @olivierlambert in Ansible we have to create a static file with groups and ip of vms to run owner playbooks.

      My solution is a simple way to create this file using tags like groups and getting the ip automagically, like this:

      [kub] #xo tag
      192.168.1.152 #vm ip
      192.168.1.42 #vm ip

      [worker]
      192.168.1.152

      [2021.01]
      192.168.1.152

      [XOA]
      192.168.1.152

      [master]
      192.168.1.4

      posted in Xen Orchestra
      luizhpriottoL
      luizhpriotto
    • RE: Ansible dynamic inventory and XO

      @olivierlambert @kirovtome I have created a simple way to return the dynamic inventory to use on Ansible. https://github.com/luizhpriotto/xenorchestra_inventory

      I think the https://github.com/vtsingaras/xenorchestra_inventory doesn't work anymore.

      Thanks.

      posted in Xen Orchestra
      luizhpriottoL
      luizhpriotto
    • RE: Ansible dynamic inventory and XO

      @kirovtome I have found this script https://github.com/vtsingaras/xenorchestra_inventory...

      posted in Xen Orchestra
      luizhpriottoL
      luizhpriotto