pagure-stg-ro01: add new instance for readonly pagure in stg ( ticket 13351 ) #3388
No reviewers
Labels
No labels
ai-review-please
freeze-break-request
post-freeze
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/ansible!3388
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "kevin/ansible:pagure-stg-ro01"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For infra/tickets#13351
This makes a staging rhel10 vm thats just the same size / place
as pagure-stg01.
It still needs external ip's and nat in from those, but this should be
enough to install it and start setting things up.
Signed-off-by: Kevin Fenzi kevin@scrye.com
AI Code Review
Detailed Code Review
The setup looks well-structured and aligns with standard provisioning patterns for staging environments. However, there is a critical undefined variable bug in the host variables file related to the network configuration that will cause the Ansible playbook to fail during templating.
📂 File Reviews
📄 `inventory/host_vars/pagure-stg-ro01.fedoraproject.org` - Adds host-specific configuration including networking and Postgres DB sizing.
eth0_ipv4_nmis used in thenetwork_connectionstemplate but is never defined. Instead,eth0_nmis defined with a dotted decimal subnet mask (255.255.255.0). The template expects a CIDR notation variable (eth0_ipv4_nm) to construct the IP/Mask string10.16.179.80/24. This will cause a templating failure.eth0_nmtoeth0_ipv4_nmand change its value to the CIDR prefix length24instead of255.255.255.0.✅ Summary
eth0_ipv4_nmvariable and replaceeth0_nmwith CIDR notation in host_vars.🤖 AI Code Review | Generated with ai-code-review | Model:
gemini-3.1-pro-preview⚠️ AI-generated suggestions may be incorrect. Verify before applying. Not a replacement for human review.
eth0_ipv4_nm is defined in inventory/group_vars/all to a default of 24. ;)