ktdreyer / koji-ansible

Ansible modules to manage Koji resources
GNU General Public License v3.0
24 stars 22 forks source link

script to generate plays from live koji #7

Open ktdreyer opened 5 years ago

ktdreyer commented 5 years ago

To help with adoption, it would be really cool to have something that could "reverse" a live Koji tag into an Ansible play. This would let users see what the Ansible code would look like if they started using this project.

ktdreyer commented 5 years ago

This PR introduces a tool to do this: https://github.com/ktdreyer/koji-ansible/pull/29

It cannot generate anything beyond koji_tag at the moment.

ktdreyer commented 5 years ago

It would be awesome to have an interactive "translator" tool as well, like "Here's my CLI command, now show me the equivalent task in YAML"