Comments (11)
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.
@evgeni thoughts on this?
from foreman-yml.
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.
Are you by any chance at cfgmgmtcamp so we can discuss this live?
from foreman-yml.
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.
@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.
Ah cool, that one was on "to watch" list already. Will definitely join
from foreman-yml.
Was there any discussion and if so, can you share it?
from foreman-yml.
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.
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.
Project archived
from foreman-yml.
Related Issues (20)
- Add ability to create users
- Better error handling when 401 connecting to Foreman-API HOT 13
- Document host configuration
- Setting Puppet Master and Puppet CA in Hostgroups impossbile? HOT 3
- Add json definition for 1.13 HOT 1
- Issues with dumping subnets
- Location and organization HOT 3
- Support for subnet type (ipv4 vs ipv6)
- Subnet domain export vs import HOT 1
- Host creation failure HOT 2
- Install fails on CentOS 7.3.1611 HOT 6
- Add Travis CI HOT 1
- Running fails with NameError: global name 'MultipleInvalid' is not defined HOT 2
- Add documentation for log level HOT 4
- Allow disabling SSL verification warnings HOT 1
- Support cleanup of locked templates
- Fix log message for user creation error
- Provisioning template configuration without OS association
- Allow configuration of PXE loader in the hostgroup resource HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foreman-yml.