Solution or tool to separate Ansible Code and Data

Hi,

I’m looking for a solution to separate Ansible code and Data with AWX.
Does anyone already do this?
Does anyone any ideas, tips that I can look at?
Or should we create this ourself?

Best regards, H

Hello,
We would like to gather a bit more information from you. Could you please elaborate on what you mean by data specifically? Any examples or additional information you can provide will be extremely helpful.

AWX Team

Hello,

To keep it simple, I create a playbook for a customer or internally. This playbook will use various variables, hostname, vault, etc…
The idea is to be able to separate this playbook with its data. I.e the playbook will call the data but it will not be in /default or /vars. So I can for example add this playbook in GitHub without worrying about the data.

Is this clearer?

Thank you and best regards, H

Isn't this what the inventory is for? Or do you mean something different?

It sounds like things that would be in inventory variables for either the host or a group that it is in.