Commit Graph

14 Commits

Author SHA1 Message Date
Guillaume Raffy 769c4076e5 added comments 2024-01-10 10:56:41 +01:00
Guillaume Raffy 749cc8c0f7 fixed typos 2024-01-10 10:56:16 +01:00
Guillaume Raffy 6d53ab97e4 made deboco cope properly with relative file paths 2023-12-13 11:27:35 +01:00
Guillaume Raffy 8dbcb480fc added more error detections mechanisms to improve user information 2023-12-13 11:26:49 +01:00
Guillaume Raffy b3e9fec9a2 added a mechanism to verify that debops controller doesn't use other controller's files
this should prevent problems such as https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3719

work related to https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3719
2023-12-13 11:24:57 +01:00
Guillaume Raffy 20bac19c84 changed the location of debops environment file so that debops always uses it
fixes https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3719
2023-12-13 11:19:33 +01:00
Guillaume Raffy 8b7d82399d improved messages displayed by deboco 2023-12-11 14:44:10 +01:00
Guillaume Raffy e3c4dba850 added a mechanism di disable debug messages
work related to https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=2713
2023-12-06 10:25:01 +01:00
Guillaume Raffy 9def80af12 made deboco more generic by adding the python-path option
this allowed me to successfully install debops controller on mazinger.ipr too in addition to graffy-ws2

work related to https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=2713
2023-12-06 10:24:17 +01:00
Guillaume Raffy bcf8310c59 restored the init_machine command, as it can be useful
deboco also now prints the debops error code
2023-12-05 13:38:09 +01:00
Guillaume Raffy 161fe8ea80 deboco now enforces debops update to explicitely python 3.10
This dirty hack allowed the controller to succesfully configure alambix108

fixes https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3715
2023-12-05 13:35:25 +01:00
Guillaume Raffy c629be803f added the script deboco which is able to create multiple standalone debops controllers
- it automates the creation of standalone debops controllers. A standalone debops controller is a directory that embeds:
  - its own ansible.debops tree (which contains ipr debops configuration, but also its secret directory)
  - its own virtualenv
  - its own reports on debops runs when perfoming operations with this controller
- it simplifies some operations like applying a configuration to a new machine

work related to https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3713
2023-12-01 18:53:31 +01:00
Guillaume Raffy e83998ef51 changed file hierarchy to allow for a readme file, an also because this repos is no longer expected to be in cloned in the home directory (too dangerous and it messes up some tools that see git repos into git repos)
- added a readme
- added  scripts and bash config files that I want to be under source control
2023-11-30 18:33:55 +01:00
Guillaume Raffy 20a991fad6 added scripts to ease applying debops on machines 2023-10-11 17:36:07 +02:00