SlideShare a Scribd company logo
Automated provisioning and
deployment
E2E Testing Team
Why?
• Complex configuration: users, GIBA proxy, database, database
seeding, Test Center, Scheduler, deployment scripts.
• We wanted:
• Server configuration as code and under version control.
• Provision a new IPC host in minutes.
• Repeatable process.
Ansible setup
• Automates provisioning, configuration and deployment.
• A controller node, which acts as a provisioner.
• One (or many) managed hosts.
• No agents needed. Instructions on playbooks are translated to
commands through SSH.
How to develop?
• Vagrant project with Virtual Box as virtualization provider.
• Vagrant sits on top of the virtualization provider.
• CentOS as base box.
• Vagrantfile:
• Ruby file that declares:
• A controller VM.
• A node VM.
• It’s very easy to create the VMs from scratch, boot them, and destroy them
• $ vagrant up controller
• $ vagrant up node
• $ vagrant destroy node
Our playbooks
Ansible E2E Testing
How to run against IPC?
• Request new Red Hat instance.
• Create a snapshot.
• Try.
• Revert.
Lessons learnt
• Ansible playbooks are the best documentation for infrastructure.
• It helps to improve/refine the infrastructural set-up.
• Always check for idempotency!
• It’s better to use a module than running a raw command.

More Related Content

PPT
OpenNebula Administrator View
PPTX
Stabilizing SE Build - Selenium conf 2013
PPT
Towards automated testing - CloudStack Collab Conference
PPTX
Introduction to Vagrant
PDF
Vagrant and docker
PDF
Service Discovery: From Classic to VPC
PDF
The Three Musketeers
OpenNebula Administrator View
Stabilizing SE Build - Selenium conf 2013
Towards automated testing - CloudStack Collab Conference
Introduction to Vagrant
Vagrant and docker
Service Discovery: From Classic to VPC
The Three Musketeers

What's hot (20)

PPTX
London Hashicorp Meetup #22 - Congruent infrastructure @zopa by Ben Coughlan
PPTX
Using Packer to Migrate XenServer Infrastructure to CloudStack
PPTX
Reliable, Scalable Kubernetes on AWS
PDF
Training Slides: 103 - Basics - Simple Tungsten Clustering Installation
PDF
How Much Kafka?
PDF
The Need For Speed - NEBytes
PPTX
Microservices chat
PPTX
Building autonomous components with OWIN, PSake, NuGet, GitVersion and Swagger
PPTX
Mean machine
PPTX
User Transparent Service Migration to the Cloud
PDF
How DreamHost builds a Public Cloud with OpenStack
PPTX
Nagios XI Best Practices
PPTX
Jenkins scaling best practices
PPTX
Building microservices with vert.x 3.0
PDF
AWS to Bare Metal: Motivation, Pitfalls, and Results
PDF
Zabbix monitoring in 5 pictures
PDF
Microservices Without the Hassle
PDF
.Net Conf 2018 Service Fabric
PPTX
Next generation pipelines
PDF
Queue Everything and Please Everyone
London Hashicorp Meetup #22 - Congruent infrastructure @zopa by Ben Coughlan
Using Packer to Migrate XenServer Infrastructure to CloudStack
Reliable, Scalable Kubernetes on AWS
Training Slides: 103 - Basics - Simple Tungsten Clustering Installation
How Much Kafka?
The Need For Speed - NEBytes
Microservices chat
Building autonomous components with OWIN, PSake, NuGet, GitVersion and Swagger
Mean machine
User Transparent Service Migration to the Cloud
How DreamHost builds a Public Cloud with OpenStack
Nagios XI Best Practices
Jenkins scaling best practices
Building microservices with vert.x 3.0
AWS to Bare Metal: Motivation, Pitfalls, and Results
Zabbix monitoring in 5 pictures
Microservices Without the Hassle
.Net Conf 2018 Service Fabric
Next generation pipelines
Queue Everything and Please Everyone
Ad

Similar to Ansible E2E Testing (20)

PPTX
OpenStack and Windows
PDF
Distributed Testing Environment
PPTX
Encrypt your volumes with barbican open stack 2018
PDF
Common Challenges in DevOps Change Management
PDF
Vagrant Binding JayDay 2013
PPTX
Virtualization_Structures_Tools_Mechanisms.pptx
PPTX
Opscode Webinar: Managing Your VMware Infrastructure with Chef
PDF
SaltConf14 - Matthew Williams, Flowroute - Salt Virt for Linux contatiners an...
PPTX
CT Software Developers Meetup: Using Docker and Vagrant Within A GitHub Pull ...
PPTX
Nagios Conference 2014 - Mike Merideth - The Art and Zen of Managing Nagios w...
PDF
Continuous Deployment with Jenkins and Salt
PPTX
Simplifying Hyper-V Management for VMware Administrators
PDF
A Tale of 2 Systems
PDF
DEF CON 27 - ORANGE TSAI and MEH CHANG - infiltrating corporate intranet like...
PPTX
Intro to Deploying and administering server virtualization with Hyper-V and S...
PDF
Versioning for Developers
PDF
Vagrant For DevOps
PDF
QA speed up story
PDF
How bigtop leveraged docker for build automation and one click hadoop provis...
PPTX
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
OpenStack and Windows
Distributed Testing Environment
Encrypt your volumes with barbican open stack 2018
Common Challenges in DevOps Change Management
Vagrant Binding JayDay 2013
Virtualization_Structures_Tools_Mechanisms.pptx
Opscode Webinar: Managing Your VMware Infrastructure with Chef
SaltConf14 - Matthew Williams, Flowroute - Salt Virt for Linux contatiners an...
CT Software Developers Meetup: Using Docker and Vagrant Within A GitHub Pull ...
Nagios Conference 2014 - Mike Merideth - The Art and Zen of Managing Nagios w...
Continuous Deployment with Jenkins and Salt
Simplifying Hyper-V Management for VMware Administrators
A Tale of 2 Systems
DEF CON 27 - ORANGE TSAI and MEH CHANG - infiltrating corporate intranet like...
Intro to Deploying and administering server virtualization with Hyper-V and S...
Versioning for Developers
Vagrant For DevOps
QA speed up story
How bigtop leveraged docker for build automation and one click hadoop provis...
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
Ad

More from Roberto Perez-Rodriguez (6)

PPTX
Ns e commerce integration tests
PPTX
Branching by abstraction
PDF
PPTX
EDUCON 2010: Adaptation in a PoEML-based E-learning Platform
PPTX
ICALT 2010: Supporting Exception Handling in Scripted Collaborative Courses
PPTX
FIE2010: Orchestrating Groupware in Engineering Education
Ns e commerce integration tests
Branching by abstraction
EDUCON 2010: Adaptation in a PoEML-based E-learning Platform
ICALT 2010: Supporting Exception Handling in Scripted Collaborative Courses
FIE2010: Orchestrating Groupware in Engineering Education

Recently uploaded (20)

PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
AI in Product Development-omnex systems
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
history of c programming in notes for students .pptx
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Transform Your Business with a Software ERP System
PDF
System and Network Administration Chapter 2
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
AI in Product Development-omnex systems
Understanding Forklifts - TECH EHS Solution
Design an Analysis of Algorithms II-SECS-1021-03
2025 Textile ERP Trends: SAP, Odoo & Oracle
Navsoft: AI-Powered Business Solutions & Custom Software Development
VVF-Customer-Presentation2025-Ver1.9.pptx
Odoo Companies in India – Driving Business Transformation.pdf
history of c programming in notes for students .pptx
CHAPTER 2 - PM Management and IT Context
Transform Your Business with a Software ERP System
System and Network Administration Chapter 2
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
ISO 45001 Occupational Health and Safety Management System
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Which alternative to Crystal Reports is best for small or large businesses.pdf
How Creative Agencies Leverage Project Management Software.pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...

Ansible E2E Testing

  • 2. Why? • Complex configuration: users, GIBA proxy, database, database seeding, Test Center, Scheduler, deployment scripts. • We wanted: • Server configuration as code and under version control. • Provision a new IPC host in minutes. • Repeatable process.
  • 3. Ansible setup • Automates provisioning, configuration and deployment. • A controller node, which acts as a provisioner. • One (or many) managed hosts. • No agents needed. Instructions on playbooks are translated to commands through SSH.
  • 4. How to develop? • Vagrant project with Virtual Box as virtualization provider. • Vagrant sits on top of the virtualization provider. • CentOS as base box. • Vagrantfile: • Ruby file that declares: • A controller VM. • A node VM. • It’s very easy to create the VMs from scratch, boot them, and destroy them • $ vagrant up controller • $ vagrant up node • $ vagrant destroy node
  • 7. How to run against IPC? • Request new Red Hat instance. • Create a snapshot. • Try. • Revert.
  • 8. Lessons learnt • Ansible playbooks are the best documentation for infrastructure. • It helps to improve/refine the infrastructural set-up. • Always check for idempotency! • It’s better to use a module than running a raw command.