89luca89/terrible

[IMPROVEMENT] Support for other providers

开放

#88 创建于 2021年7月4日

 (0 条评论) (0 个反应) (2 位负责人)YAML (29 个派生)github user discovery
enhancementexperimentalhelp wantedrefactoring

仓库指标

星标
 (257 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

We should support other providers like:

To include multiple providers we should think on how we want to specify the provider, for example:

    hypervisor_1:
      ansible_host: remote_kvm_machine.foo.bar
      ansible_user: root
      provider_type: Proxmox

Or something similar, also we should think on how the code generation will behave, for example

roles/terrible/templates/Libvirt
└── ......tf.j2
roles/terrible/templates/Proxmox
└── ......tf.j2
roles/terrible/templates/oVirt
└── ......tf.j2

And use the provider_type as a variable to discover the templates.

Discussion open on how to approach the problem

贡献者指南