move modules from nodes.nix to mapping.nix
This commit is contained in:
parent
4df3c2678d
commit
5103243bfd
5 changed files with 32 additions and 92 deletions
21
mapping.nix
21
mapping.nix
|
@ -3,18 +3,27 @@
|
|||
# If some "hostvars" are needed they should
|
||||
# be declared here
|
||||
{
|
||||
bastion = [
|
||||
"bastion-mtz-lasuite-federez"
|
||||
"bastion-ren-lasuite-federez"
|
||||
"bastion-aur-lasuite-federez"
|
||||
];
|
||||
bastion = {
|
||||
hosts = [
|
||||
"bastion-mtz-lasuite-federez"
|
||||
"bastion-ren-lasuite-federez"
|
||||
"bastion-aur-lasuite-federez"
|
||||
];
|
||||
_inherit = [
|
||||
./shared/bastion.nix
|
||||
];
|
||||
};
|
||||
|
||||
# For instance:
|
||||
# psql = {
|
||||
# psql = rec {
|
||||
# master = "some-node-1";
|
||||
# slaves = [
|
||||
# "some-node-2"
|
||||
# "some-node-3"
|
||||
# ];
|
||||
# hosts = [ master ] ++ slaves;
|
||||
# _inherit = [
|
||||
# "./shared/psql.nix"
|
||||
# ];
|
||||
# };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue