More work on execution
This commit is contained in:
parent
be28e14d3e
commit
ae8c24aa63
5 changed files with 129 additions and 99 deletions
|
@ -7,6 +7,9 @@
|
|||
(define uptime (task #:name "uptime" #:action (cut remote-cmd <> "uptime" #:return car)))
|
||||
|
||||
(define flow (workflow
|
||||
(step #:action uptime #:target "root@limiting-factor" #:continue-on-err? #t)))
|
||||
(execute uptime "limiting-factor" '(#:sudo #t))))
|
||||
|
||||
(define resolver (load-inventory "examples/inventory.scm"))
|
||||
|
||||
;; IDEA: have load-inventory! set an *inventory* parameter and remove the execute methods
|
||||
;; that take a <host-resolver> argument, making this implicit.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue