From 087ed909cf1f8efa95fc2a55f7198280c52f3c2b Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 18 Oct 2025 16:52:34 +0000 Subject: [PATCH] init: scaffold infra-tools repository structure --- .gitignore | 4 ++++ CONTRIBUTING.md | 3 +++ LICENSE | 10 +--------- Makefile | 4 ++++ README.md | 4 ++-- ansible/group_vars/all.yml | 1 + ansible/inventory/prod.yml | 1 + ansible/site.yml | 1 + scripts/backup.sh | 2 ++ scripts/healthcheck.sh | 2 ++ scripts/restore.sh | 2 ++ terraform/main.tf | 1 + terraform/outputs.tf | 1 + terraform/variables.tf | 1 + 14 files changed, 26 insertions(+), 11 deletions(-) create mode 100644 .gitignore create mode 100644 CONTRIBUTING.md create mode 100644 Makefile create mode 100644 ansible/group_vars/all.yml create mode 100644 ansible/inventory/prod.yml create mode 100644 ansible/site.yml create mode 100644 scripts/backup.sh create mode 100644 scripts/healthcheck.sh create mode 100644 scripts/restore.sh create mode 100644 terraform/main.tf create mode 100644 terraform/outputs.tf create mode 100644 terraform/variables.tf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..394f772 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.bak +*.swp +*.pyc +.env diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..13ab7f7 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,3 @@ +# infra-tools — CONTRIBUTING + +(Initial — see git history.) diff --git a/LICENSE b/LICENSE index 3451510..2ed5bc3 100644 --- a/LICENSE +++ b/LICENSE @@ -1,9 +1 @@ -MIT License - -Copyright (c) 2026 marcus - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +MIT License — see git history diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..21ef217 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +# infra-tools Makefile +.PHONY: all +all: +\t@echo 'build target TBD' diff --git a/README.md b/README.md index cd2e701..ea4a0de 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# infra-tools +# infra-tools — README -Internal infrastructure automation tools (Ansible, Terraform, helper scripts) \ No newline at end of file +(Initial — see git history.) diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml new file mode 100644 index 0000000..ae5372d --- /dev/null +++ b/ansible/group_vars/all.yml @@ -0,0 +1 @@ +# ansible/group_vars/all.yml diff --git a/ansible/inventory/prod.yml b/ansible/inventory/prod.yml new file mode 100644 index 0000000..1258ec6 --- /dev/null +++ b/ansible/inventory/prod.yml @@ -0,0 +1 @@ +# ansible/inventory/prod.yml diff --git a/ansible/site.yml b/ansible/site.yml new file mode 100644 index 0000000..a05aa1c --- /dev/null +++ b/ansible/site.yml @@ -0,0 +1 @@ +# ansible/site.yml diff --git a/scripts/backup.sh b/scripts/backup.sh new file mode 100644 index 0000000..a3d76cf --- /dev/null +++ b/scripts/backup.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +# scripts/backup.sh diff --git a/scripts/healthcheck.sh b/scripts/healthcheck.sh new file mode 100644 index 0000000..d077e92 --- /dev/null +++ b/scripts/healthcheck.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +# scripts/healthcheck.sh diff --git a/scripts/restore.sh b/scripts/restore.sh new file mode 100644 index 0000000..2901ae9 --- /dev/null +++ b/scripts/restore.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +# scripts/restore.sh diff --git a/terraform/main.tf b/terraform/main.tf new file mode 100644 index 0000000..cc78a19 --- /dev/null +++ b/terraform/main.tf @@ -0,0 +1 @@ +# terraform/main.tf diff --git a/terraform/outputs.tf b/terraform/outputs.tf new file mode 100644 index 0000000..2fa24f2 --- /dev/null +++ b/terraform/outputs.tf @@ -0,0 +1 @@ +# terraform/outputs.tf diff --git a/terraform/variables.tf b/terraform/variables.tf new file mode 100644 index 0000000..69223c4 --- /dev/null +++ b/terraform/variables.tf @@ -0,0 +1 @@ +# terraform/variables.tf