ansible / awx-resource-operator

41 stars 34 forks source link

add CRD for tower modules (#42) #43

Open victorock opened 3 years ago

victorock commented 3 years ago

needs testing and review

the-it-jaeger commented 1 year ago

What's the goal with this? Are you basically creating a wrapper around all of the existing functionality in awx.awx ?

cooktheryan commented 1 year ago

@the-it-jaeger @rooftopcellist I'm wondering if this should be archived as it is a pretty old PR at this point

the-it-jaeger commented 1 year ago

I think the idea behind this PR is to just wrap all of the awx.awx modules' functionality in one fell swoop rather than sort of implementing around each one individually. It might be a genius approach, but I haven't figured out how it consumes parameters yet. I wish the author would chime in.

victorock commented 1 year ago

Hello... this PR creates CRDs for AWX.AWX modules, and can be used to whatever module available. You can refer to the following repo in order to get an idea of what was behind this PR: https://github.com/victorock/ansible-operator-tower-config.

The individual implementations are based on a role that templatize the yaml task file for whatever module: https://github.com/victorock/ansible-operator-tower-config/tree/main/roles/module

In particular: https://github.com/victorock/ansible-operator-tower-config/blob/main/roles/module/tasks/module.yml

Let me know if it worth to update this PR based on what is proposed.