Jenkins CICD pipeline as code deployed with Ansible on a private server:
Creates a fully automated cicd pipeline to deploy a python web app:
- Provision linux server by Terraform and deploys CICD automation code with Ansible roles
- Installs Jenkins and Groovy and runs the pipeline code
The idea is to manage the entire CICD infrastructure as code. To initiate, run the Terraform
terraform init
terraform plan
terraform apply
The Jenkins server will be cloud based ec2 with auto-scaling group or ECS. [Link](to aws-tf jenkins)