Skip to content

Commit a493048

Browse files
committed
Moved cookiecutter tofu to site environment
1 parent 8583a8f commit a493048

File tree

38 files changed

+54
-16
lines changed

38 files changed

+54
-16
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[defaults]
2+
any_errors_fatal = True
3+
stdout_callback = debug
4+
stderr_callback = debug
5+
gathering = smart
6+
forks = 30
7+
host_key_checking = False
8+
inventory = ../common/inventory,../site/inventory,inventory
9+
collections_path = ../../ansible/collections
10+
roles_path = ../../ansible/roles
11+
filter_plugins = ../../ansible/filter_plugins
12+
13+
[ssh_connection]
14+
ssh_args = -o ControlMaster=auto -o ControlPath=~/.ssh/%r@%h-%p -o ControlPersist=240s -o PreferredAuthentications=publickey -o UserKnownHostsFile=/dev/null
15+
pipelining = True
16+
17+
[inventory]
18+
# Fail when any inventory source cannot be parsed.
19+
any_unparsed_is_failed = True
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
variable "environment_root" {
2+
type = string
3+
description = "Path to environment root, automatically set by activate script"
4+
}
5+
6+
module "cluster" {
7+
source = "../../site/tofu/"
8+
environment_root = var.environment_root
9+
10+
# Environment specific variables
11+
# cluster_name = "foo"
12+
}

environments/.stackhpc/inventory/everything

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)