simplify
This commit is contained in:
parent
6e325dbf8f
commit
1d93f25449
|
@ -31,8 +31,8 @@ host hostname@"mybox.example.com" = Just $ props
|
||||||
& Apt.installed ["ssh"]
|
& Apt.installed ["ssh"]
|
||||||
& User.hasSomePassword "root"
|
& User.hasSomePassword "root"
|
||||||
& Network.ipv6to4
|
& Network.ipv6to4
|
||||||
|
& File.dirExists "/var/www"
|
||||||
& Docker.docked container hostname "webserver"
|
& Docker.docked container hostname "webserver"
|
||||||
`requires` File.dirExists "/var/www"
|
|
||||||
& Docker.garbageCollected
|
& Docker.garbageCollected
|
||||||
& Cron.runPropellor "30 * * * *"
|
& Cron.runPropellor "30 * * * *"
|
||||||
-- add more hosts here...
|
-- add more hosts here...
|
||||||
|
|
Loading…
Reference in New Issue