Skip to content

Add AWS Gitea provision demo and Deploy Shared Services workflow - #391

Merged
rlopez133 merged 5 commits into
ansible:mainfrom
IPvSean:feature/infrastructure-gitea
Nov 4, 2026
Merged

rlopez133 merged 5 commits into
ansible:mainfrom
IPvSean:feature/infrastructure-gitea

Conversation

@IPvSean

@IPvSean IPvSean commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add Infrastructure | AWS - Provision Gitea: EC2 aws_gitea + Podman Gitea (SQLite); job output prints apdadmin / Ansible123!
  • Add Infrastructure | AWS - Deploy Shared Services workflow: Create VPC + keypair, then Mattermost and Gitea in parallel (no cloud-stack VMs)
  • Document the lighter networking prerequisite (Create VPC/Keypair or the new workflow; full Deploy Cloud Stack optional)

Test plan

  • Sync project from this branch; run APD | Single demo setup with demo: infrastructure
  • Launch Infrastructure | AWS - Deploy Shared Services (region + owner)
  • Confirm Create VPC / Create Keypair succeed, then Mattermost and Gitea run in parallel
  • Mattermost output shows UI login and Controller credential update
  • Gitea output shows URL + apdadmin / Ansible123! (username admin is reserved)
  • Confirm no cloud-stack VMs (aws-rhel*, Windows, reports) were created by the workflow
  • Optional: re-run Provision Gitea alone against existing networking (idempotent)

IPvSean and others added 5 commits November 3, 2026 14:12
Stand up aws_gitea with Podman Gitea (SQLite) and print admin/Ansible123! in job output for lab use.

Co-authored-by: Cursor <cursoragent@cursor.com>
Controller only has labels from common setup; git was never registered.

Co-authored-by: Cursor <cursoragent@cursor.com>
Full Deploy Cloud Stack still works but only shared networking is required.

Co-authored-by: Cursor <cursoragent@cursor.com>
One-click VPC + keypair then parallel provision jobs, without cloud-stack VMs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Matches Mattermost login pattern and fixes CreateUser reserved-name failure.

Co-authored-by: Cursor <cursoragent@cursor.com>
@rlopez133
rlopez133 merged commit 39b3a50 into ansible:main Nov 4, 2026
1 check passed
@IPvSean
IPvSean deleted the feature/infrastructure-gitea branch November 9, 2026 14:48
leogallego added a commit to leogallego/ansible-product-demos that referenced this pull request Nov 16, 2026
Adopt the ansible#391 Gitea/Mattermost provisioning pattern for NetBox
instead of colocating Compose services on the lab hypervisor:
- Dedicated deployment-owned RHEL 9 instance (t3.medium baseline),
  create-or-reuse via demo.cloud.aws create_vm
- Removes hypervisor capacity coupling and the SG purge workaround;
  Containerlab's purge_rules no longer affects NetBox access
- NetBox data now survives full lab teardown/redeployment; only
  terminating the NetBox instance destroys it
- Simplifies persistence contracts (paths, teardown table, guards)
- Add .opencode/ to .gitignore for symlinked local AI skills
leogallego added a commit to leogallego/ansible-product-demos that referenced this pull request Nov 16, 2026
Name infrastructure/gitea/provision_gitea.yml and
provision_mattermost.yml in the reuse matrix, NetBox services
section, and references; enumerate the concrete mechanics reused
(two-play structure, add_host handoff, readiness diagnostics,
idempotent bootstrap, on-host facts, purge_rules: false) and the
deliberate deviations (restricted CIDRs, no printed credentials,
Compose for a multi-service stack).
leogallego added a commit to leogallego/ansible-product-demos that referenced this pull request Nov 17, 2026
- create_vm destructive path: fail-closed conflict guard in NetBox
  provisioning, deployment-qualified naming, shared role untouched
- Network prerequisites pinned to ansible#391 aws-test-subnet/key, never
  disposable clab-vpc; Destroy Containerlab Stack added to acceptance
- Owned SG reconciled authoritatively (stale/broad rules removed),
  deployment-qualified name, ownership check before reuse
- Stopped-instance recovery by validated ID with address rediscovery
- Pre-change backup gated on durable storage on the NetBox instance
- Generation invalidation ordered before destructive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants