From 3c86de06d9184612c5761a4f68f54d85f354a45d Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Tue, 29 Jun 2021 11:31:51 -0700 Subject: [PATCH] README.md: Add deployment.tags to example --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 0bf51c7..eb632d1 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,13 @@ Here is a sample `hive.nix` with two nodes, with some common configurations appl # Override the default for this target host deployment.replaceUnknownProfiles = false; + # You can filter hosts by tags with --on @tag-a,@tag-b. + # In this example, you can deploy to hosts with the "web" tag using: + # colmena apply --on @web + # You can use globs in tag matching as well: + # colmena apply --on '@infra-*' + deployment.tags = [ "web" "infra-lax" ]; + time.timeZone = "America/Los_Angeles"; boot.loader.grub.device = "/dev/sda";