Generate Ansible playbooks and GitLab CI pipelines for new apps, or build Nginx vhost configs for new domains — ready to drop in and ship.
Inventory Line — append under [Dev8] in hosts.yml
playbook.yml
.gitlab-ci.yml
Heads up — confirm your branch
How to Apply
1
Open ansible-exploration / playbooks / on GitLab.
Click + → Upload file, upload the downloaded playbook file, and commit directly to main.
2
Open ansible-exploration / inventory / hosts.yml on GitLab.
Click the Edit (pencil) icon, scroll to the [Dev8] section, paste the inventory line at the end of that group, and commit to main.
3
Place the downloaded .gitlab-ci.yml in the root of your project repository on the target branch.
Nginx Config —
How to Apply
1
2
Go to /etc/nginx/sites-enabled/ on the server.
Upload or create and paste the generated config.
3
Check syntax: nginx -t
4
Reload: systemctl reload nginx
5
Issue SSL cert: certbot --nginx — then select the domain ID from the list.