forked from tiiuae/ghaf-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Introduce 'alias' names for combinations of hostname (IP) and target nixosConfigurations. - Add task `alias-list` to list all alias names currently configured. - Change the task.py so that all tasks take the 'alias' name as an argument, instead of separate hostname and configuration name. This makes it less likely to accidentally apply a configuration to a wrong host. - This also makes it possible to apply tasks to all alias names. As an example, `deploy` without arguments could deploy all specified alias configurations at once. Such changes to tasks will be implemented later in a separate PR. Signed-off-by: Henri Rosten <[email protected]>
- Loading branch information
1 parent
eed5a40
commit c1d5bda
Showing
2 changed files
with
117 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters