Skip to content

Commit 683d273

Browse files
committed
Move ansible files so that it matches the collection structure
Signed-off-by: Markus Katharina Brechtel <[email protected]>
1 parent a1fcb8a commit 683d273

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+13
-15
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
*.pyc
22
__pycache__
3+
data/*
4+
Pipfile.lock

.zed/tasks.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
[
22
{
33
"label": "Reset dev environment",
4-
"command": "tofu destroy && tofu apply -auto-approve -target=module.baremetal && rm ../ansible/data/ceph/*",
4+
"command": "tofu destroy && tofu apply -auto-approve -target=module.baremetal && rm ../data/ceph/*",
55
"cwd": "$ZED_WORKTREE_ROOT/terraform",
66
"shell": "system"
77
}, {
88
"label": "Deploy dev cluster",
99
"command": "ansible-playbook deploy.yaml",
10-
"cwd": "$ZED_WORKTREE_ROOT/ansible",
1110
"shell": "system"
1211
}
1312
]

ansible/Pipfile Pipfile

File renamed without changes.

ansible/ansible.cfg ansible.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[defaults]
2-
inventory = hosts.yaml
2+
inventory = inventories/baremetal.yaml
33
error_on_undefined_vars = false
44
timeout = 30
55
forks = 10

ansible/.gitignore

-3
This file was deleted.

ansible/deploy.yaml

-9
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

deploy.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
- import_playbook: playbooks/local.early.yaml
2+
- import_playbook: playbooks/netplan.yaml
3+
- import_playbook: playbooks/environment.yaml
4+
- import_playbook: playbooks/nvme.yaml
5+
- import_playbook: playbooks/ceph.yaml
6+
- import_playbook: playbooks/lvmcluster.yaml
7+
- import_playbook: playbooks/ovn.yaml
8+
- import_playbook: playbooks/incus.yaml
9+
- import_playbook: playbooks/local.late.yaml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)