Implement apt interceptors
This commit is contained in:
parent
dd885ce559
commit
1784234385
5 changed files with 72 additions and 48 deletions
17
examples/ubuntu.scm
Normal file
17
examples/ubuntu.scm
Normal file
|
@ -0,0 +1,17 @@
|
|||
(use-modules
|
||||
(ordo playbook)
|
||||
(ordo play)
|
||||
(ordo interceptor)
|
||||
(ordo interceptor apt))
|
||||
|
||||
(playbook
|
||||
#:name "APT operations"
|
||||
#:plays (list
|
||||
(play
|
||||
#:name "Test APT operations"
|
||||
;;#:host '(tagged #:ubuntu)
|
||||
#:host "localhost"
|
||||
#:interceptors (list
|
||||
(apt:update)
|
||||
(apt:dist-upgrade)
|
||||
(map apt:install (list "curl" "ca-certificates"))))))
|
Loading…
Add table
Add a link
Reference in a new issue