Code Monkey home page Code Monkey logo

Comments (11)

achevalet avatar achevalet commented on August 25, 2024

I would say the benefit of foreman-yml is the dump feature which is really useful if you want to start managing an existing instance with thousands of objects.
I've started to work on the dump feature and was about to do the import, but this part is really redundant with foreman-ansible-modules. So I'm thinking about a new option which would convert foreman-yml results into foreman-ansible-modules compatible files. Thoughts?

from foreman-yml.

ekohl avatar ekohl commented on August 25, 2024

@evgeni thoughts on this?

from foreman-yml.

evgeni avatar evgeni commented on August 25, 2024

On a mobile, so didn't look too closely, but can't we have a dump module in FAM? Based on the work here and foreman_search_facts which already can dump individual entities.

I know that @nstrug was working on something like that, but don't know the status.

from foreman-yml.

evgeni avatar evgeni commented on August 25, 2024

Are you by any chance at cfgmgmtcamp so we can discuss this live?

from foreman-yml.

karras avatar karras commented on August 25, 2024

Thanks for triggering this discussion! Basically we initiated foreman-yml a few years ago when we had to deploy multiple Foreman instances (Sandpit, Test, Production, etc.) and maintain them. As installing the packages and YML configs with Ansible is only half of the job and hammer-cli relies on IDs we created foreman-yml. Its not super well maintained or written but does the job so far.

A few months back I noticed that you guys started working on an official Ansible module which would be awesome! Please let us know if we can contribute in any way. It would be great to either consolidate foreman-yml into foreman-ansible-modules or move the whole project to the Foreman GitHub organization and combine our efforts. :)

Thoughts?

from foreman-yml.

karras avatar karras commented on August 25, 2024

@evgeni If you're at the cfgmgmtcamp make sure to have a chat with @erickellerek1, he will actually talk about one of the foreman-yml use cases:

https://cfp.cfgmgmtcamp.be/2020/talk/QNSP9S/

from foreman-yml.

evgeni avatar evgeni commented on August 25, 2024

Ah cool, that one was on "to watch" list already. Will definitely join

from foreman-yml.

ekohl avatar ekohl commented on August 25, 2024

Was there any discussion and if so, can you share it?

from foreman-yml.

evgeni avatar evgeni commented on August 25, 2024

Eric and I met and had a nice chat after his talk. i think we agreed that ideally foreman-yml would be completely unnecessary and replaced with native foreman tooling (like FAM).

Eric shared an example config which is used to populate Foreman and after a brief look the one thing FAM didn't support was creating "models", and that's been fixed in theforeman/foreman-ansible-modules#700
I still need to go over the example in more detail and check that I didn't miss anything, but pretty confident.

The other feature that exists in foreman-yml is export, and that will require some work on the FAM side, probably in the form of an export role or something. However my understanding was that import is much more important.

Eric please correct me if I misunderstood or misremembering something :)

from foreman-yml.

achevalet avatar achevalet commented on August 25, 2024

Thanks for sharing! Personnaly I would love to see that export feature implemented in FAM!
I think it would address some useful use cases like the bidirectional way of managing foreman objects. Crossed with roles, we could prevent access to sensitive objects and include FAM and merge requests in the process, while users could still update non-sensitive data from UI/API.
Ansible code would be in-sync with manual changes, this could be useful to track changes but also to clone an existing instance of Foreman for backup, DR or testing purpose, with an easy way to filter or modify what is cloned. :)

from foreman-yml.

karras avatar karras commented on August 25, 2024

Project archived

from foreman-yml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.