89luca89 / 89luca89/terrible

[IMPROVEMENT] Support for other providers

未关闭
#88 0 条评论 0 个 reaction 已指派 2 人 已被 @alegrey91 认领 在 GitHub 查看
enhancement experimental help wanted refactoring
主要语言
YAML
星标
259
派生
29
PR 合并指标
30 天内没有已合并 PR

描述

We should support other providers like:

- oVirt using: https://github.com/oVirt/terraform-provider-ovirt
- Proxmox using: https://github.com/Telmate/terraform-provider-proxmox

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

```yaml
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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。