Refactor common modules.
This commit is contained in:
9
common/nomad-server.nix
Normal file
9
common/nomad-server.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ ... }:
|
||||
{
|
||||
# Enable server mode for both Consul and Nomad
|
||||
# Used by: c1, c2, c3 (quorum members)
|
||||
clusterRole = {
|
||||
consulServer = true;
|
||||
nomadServer = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user