forked from DGNum/colmena
README.md: Add deployment.tags to example
This commit is contained in:
parent
c6ac93152c
commit
3c86de06d9
1 changed files with 7 additions and 0 deletions
|
@ -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
|
# Override the default for this target host
|
||||||
deployment.replaceUnknownProfiles = false;
|
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";
|
time.timeZone = "America/Los_Angeles";
|
||||||
|
|
||||||
boot.loader.grub.device = "/dev/sda";
|
boot.loader.grub.device = "/dev/sda";
|
||||||
|
|
Loading…
Add table
Reference in a new issue