README.md: Add deployment.tags to example

This commit is contained in:
Zhaofeng Li 2021-06-29 11:31:51 -07:00
parent c6ac93152c
commit 3c86de06d9

View file

@ -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";