2025-06-28 18:12:49 +01:00
|
|
|
(use-modules (ordo core)
|
|
|
|
(ordo inventory)
|
2025-07-05 16:29:59 +01:00
|
|
|
(ordo action remote-cmd)
|
2025-06-28 18:12:49 +01:00
|
|
|
(ordo logger)
|
|
|
|
(srfi srfi-26))
|
|
|
|
|
|
|
|
(define uptime (task #:name "uptime" #:action (cut remote-cmd <> "uptime" #:return car)))
|
|
|
|
|
|
|
|
|
2025-07-05 16:29:59 +01:00
|
|
|
;;(setup-logging! #:level 'DEBUG)
|
|
|
|
;;(load-inventory! "examples/inventory.scm")
|
|
|
|
;;(execute uptime 'all '())
|