# The way to unified CI/CD using Ansible

- Speaker: [Hadar Davidovich](/wiki/speakers/hadar-davidovich.md)
- Event: [Reversim Summit 2016](/wiki/years/2016.md)
- Video: https://www.youtube.com/watch?v=AT1M_MDDJKo
- Transcript: [/transcripts/2016/20-AT1M_MDDJKo.md](/transcripts/2016/20-AT1M_MDDJKo.md)
- Language: Hebrew and English · Type: talk · Level: intermediate
- Topics: [DevOps](/wiki/topics/devops.md), [Infrastructure](/wiki/topics/infrastructure.md), [Cloud Computing](/wiki/topics/cloud.md), [Engineering Management](/wiki/topics/engineering-management.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

The speaker describes how the engineering team transitioned from a collection of fragmented scripts and manual processes to a unified CI/CD pipeline using a single automation tool. The talk highlights the importance of matching development and production environments to prevent bugs and reduce deployment friction. The speaker explains the organizational changes and technical steps taken to enable reliable daily deployments to production. Ultimately, the audience learns how to build a transparent, scalable infrastructure that empowers all developers to handle deployment and configuration tasks.

## Key points

- [0:10](https://www.youtube.com/watch?v=AT1M_MDDJKo&t=10s) The speaker introduces the company background, noting the initial neglect of DevOps in favor of rapid product development and the accumulation of messy scripts.
- [2:27](https://www.youtube.com/watch?v=AT1M_MDDJKo&t=147s) The speaker details the backend architecture, emphasizing the high cost of errors because the product runs client cloud environments.
- [6:44](https://www.youtube.com/watch?v=AT1M_MDDJKo&t=404s) The initial state included a proliferation of different tools and manual configuration steps in production that diverged from development environments.
- [12:29](https://www.youtube.com/watch?v=AT1M_MDDJKo&t=749s) The company underwent an organizational restructure, embedding DevOps responsibilities directly into product development teams rather than keeping it as a separate silo.
- [16:54](https://www.youtube.com/watch?v=AT1M_MDDJKo&t=1014s) The team chose a single automation tool to handle provisioning, setup, deployment, and operational tasks across all environments.
- [21:58](https://www.youtube.com/watch?v=AT1M_MDDJKo&t=1318s) The new pipeline treats environment provisioning, setup, and deployment as modular steps driven by a unified source code repository.
- [27:07](https://www.youtube.com/watch?v=AT1M_MDDJKo&t=1627s) Daily production deployments are supported by heavy automated testing, production database log analysis, and on-demand environment creation.
- [29:27](https://www.youtube.com/watch?v=AT1M_MDDJKo&t=1767s) The migration was executed in small, backward-compatible steps on a live system without halting ongoing feature development.

## Takeaways

- Unify development and production environments to drastically reduce environment-specific bugs.
- Distribute DevOps and CI/CD responsibilities among development teams to eliminate bottlenecks and handoff friction.
- Adopt a single configuration and automation tool to manage provisioning, setup, and deployment consistently.
- Break down infrastructure migrations into small, backward-compatible steps to deploy safely on a live system.

## Questions this talk answers

- How do you transition a company from fragmented deployment scripts to a unified automation tool without stopping feature development?
- How can you structure an organization so that developers take ownership of their own CI/CD and deployment pipelines?
- What is the best way to handle secrets and configuration parameters securely across different environments using infrastructure as code?

## Technologies

Ansible, Java, Python, AWS, Jenkins, Docker, Tomcat, Nginx, Chef, Puppet

## Tags

ci/cd, cloud infrastructure, deployment automation, devops, infrastructure as code, organizational structure
