Enhance ansible usage in orthos

What is this about

ansible is an interesting approach to manage machines inside a network, cluster, data center,... If you already have some background, great! If you want to learn more about what this new technology is..., even better. Come in, join and play with it.

Orthos already makes use of ansible to scan machine inventory, but it's not implemented well:

  • Some data (json based result file) is mapped wrongly (e.g. cpu core count on ARM)
  • Some is missing, e.g. which distro got installed is still done by old scripts
  • A not well implemented inventory.yml creation should get replaced by using mainline dynamic ansible inventory plugin: cobbler.py
  • Ideally the inventory.yml could get kind of exported, so that the ordinary users can make use of it and by that have all ansible scripts/plugins available to users to configure, connect, monitor via ansible roles and scripts our machines.

Related github projects:

  • https://github.com/openSUSE/orthos2
  • https://github.com/ansible-collections/community.general/blob/main/plugins/inventory/cobbler.py
  • https://github.com/cobbler/cobbler

Alternative/Additionals:

I can help and point to where one could enhance our installations by:

  • Ubuntu/Centos/Windows/others
  • Fiddle out cobbler/orthos into separate services and try to package them into containers

Resources

This is about #installation #ansible #cobbler #orthos #django #python #fun

Looking for hackers with the skills:

python3 django installation ansible

This project is part of:

Hack Week 22

Activity

  • almost 3 years ago: trenn added keyword "python3" to this project.
  • almost 3 years ago: trenn added keyword "django" to this project.
  • almost 3 years ago: trenn added keyword "installation" to this project.
  • almost 3 years ago: trenn added keyword "ansible" to this project.
  • almost 3 years ago: trenn originated this project.

  • Comments

    • pgarciaq
      almost 3 years ago by pgarciaq | Reply

      Are you aware of Beaker? That's the Red Hat equivalent to Orthos, and it's already Ansible-aware.

      https://beaker-project.org/ https://doc.distributed-ci.io/ansible-playbook-dci-beaker/

    Similar Projects

    Bring to Cockpit + System Roles capabilities from YAST by miguelpc

    Bring to Cockpit + System Roles features from YAST

    Cockpit and System Roles have been added to SLES 16 There are several capabilities in YAST that are not yet present in Cockpit and System Roles We will follow the principle of "automate first, UI later" being System Roles the automation component and Cockpit the UI one.

    Goals

    The idea is to implement service configuration in System Roles and then add an UI to manage these in Cockpit. For some capabilities it will be required to have an specific Cockpit Module as they will interact with a reasource already configured.

    Resources

    A plan on capabilities missing and suggested implementation is available here: https://docs.google.com/spreadsheets/d/1ZhX-Ip9MKJNeKSYV3bSZG4Qc5giuY7XSV0U61Ecu9lo/edit

    Linux System Roles: https://linux-system-roles.github.io/