Git Product home page Git Product logo

Comments (4)

TomSie avatar TomSie commented on July 20, 2024

I favor the idea of getting rid of the "dev-" systems. Imho all systems should be treated equally, if possible.

However, we need to review the code to see what breaks if we remove this.

from fluffi.

p4cx avatar p4cx commented on July 20, 2024

I agree with you here and I will review and remove dev- (if possible). In addition, every system should be removable in the web gui and not just dev- systems.

from fluffi.

maverickwoo avatar maverickwoo commented on July 20, 2024

Personally, I also favor a design that

  1. treats every host equally,
  2. sees the web interface as the GUI method of performing CRUD in the DB, and
  3. sees the DB as the single source of truth of the inventory of runner systems.

In this design, the Ansible inventory specification will follow a common pattern for cloud applications: a dynamic inventory, overlayed with overrides through the file system if necessary. (In older designs, adding overrides through the file system is often necessary due to schema inflexibility; nowadays we can use a JSON column to allow pretty much any overrides.)

P.S. Speaking of Ansible inventory, I suggest favoring YAML over INI, even for human-written files. When an inventory have enough number of subgroups, editing the INI will become quite difficult.

from fluffi.

p4cx avatar p4cx commented on July 20, 2024
  • treats every host equally,
  • sees the web interface as the GUI method of performing CRUD in the DB, and

These two ideas for the design are now implemented in #107

We have decided that Polemarch's host file is our source of truth. After launching the web user interface, a function is called in which the systems are retrieved from Polemarch and added to the database after you have added a location. At runtime, you can delete any system, add new systems, change locations, ...
If you restart the Webui, everything is deleted from the database that is not declared in the host file. When declared, it is added to the database.

from fluffi.

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.