SlideShare a Scribd company logo
Ansible by example
CAS2015
Me Operations
@TicketbisEng
Ticket marketplace
1M Tickets over 50 countries
90M € in 2015
David González
@penguinjournals
Ansible
- IT automation, provision, deploy, ad hoc commands
- Agentless
- Python + SSH
- From basics to full control
Task1
https://github.com/penguinjournals/ansible-101/blob/master/task1/task1.md
NO software improvement,
just tech porn.
Inventory and configuration file
- Gather all your machines
- Group them
- Use it to run commands against single or multiple machines
Task2
https://github.com/penguinjournals/ansible-101/blob/master/task2/task2.md
Improvement:
- Your infrastructure is documented
- Groups of hosts, no ssh cowboys
Modules, tasks, plays, playbooks
- Modules are used to control system resources
http://docs.ansible.com/ansible/modules.html
- Plays map tasks to roles
- Playbooks are descriptions of the desired state of your systems
http://docs.ansible.com/ansible/playbooks_intro.html
- Repeatable and reliable
Task3
https://github.com/penguinjournals/ansible-101/blob/master/task3/task3.md
Improvement:
- Setup documented
- Setup is the same in all hosts
- Setup is repeatable in new hosts
USE VERSION CONTROL
Roles
- DRY, reusable pieces of playbooks with a defined purpose (common, nginx,
tomcat)
- Good practice: separate setup roles from application deployment roles
Task4
https://github.com/penguinjournals/ansible-101/blob/master/task4/task4.md
Improvement:
- Reutilization at infrastructure level
- DRY
Application deployment
- http://www.ansible.com/application-deployment
Task5
https://github.com/penguinjournals/ansible-101/blob/master/task5/task5.md
Improvement:
- Automated deployments
- Push button deployments
Cloud
- Dynamic inventories, default and custom
- Amazon cloud modules (Amazon AWS, GCE, Azure, DigitalOcean, Linode...)
http://docs.ansible.com/ansible/list_of_cloud_modules.html
Task6
https://github.com/penguinjournals/ansible-101/blob/master/task6/task6.md
Improvement:
- Autoescalable deployment
- Integrate cloud management in
deployment tasks
From adhoc
commands, to full
management of your
infrastructure.
Resources
- http://www.ansible.com/resources
- http://docs.ansible.com/ansible/modules.html
- https://galaxy.ansible.com
- https://groups.google.com/forum/#!forum/ansible-project
- https://www.google.com
WE ARE HIRING!
itjobs@ticketbis.com
Codemotion 2015

More Related Content

What's hot

Ansible Introduction - Ansible Brno #1 - David Karban
Ansible Introduction - Ansible Brno #1 - David KarbanAnsible Introduction - Ansible Brno #1 - David Karban
Ansible Introduction - Ansible Brno #1 - David Karban
ansiblebrno
 
Automating with Ansible
Automating with AnsibleAutomating with Ansible
Automating with Ansible
Ricardo Schmidt
 
A quick intro to Ansible
A quick intro to AnsibleA quick intro to Ansible
A quick intro to Ansible
Dan Vaida
 
Jenkins and ansible reference
Jenkins and ansible referenceJenkins and ansible reference
Jenkins and ansible reference
laonap166
 
ansible why ?
ansible why ?ansible why ?
ansible why ?
Yashar Esmaildokht
 
JavaScript tips - Unnest callbacks and method declarations
JavaScript tips - Unnest callbacks and method declarationsJavaScript tips - Unnest callbacks and method declarations
JavaScript tips - Unnest callbacks and method declarations
exponential_io
 
Ansible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife OrchestrationAnsible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife Orchestration
bcoca
 
Ansible 2.0 - How to use Ansible to automate your applications in AWS.
Ansible 2.0 - How to use Ansible to automate your applications in AWS.Ansible 2.0 - How to use Ansible to automate your applications in AWS.
Ansible 2.0 - How to use Ansible to automate your applications in AWS.
Idan Tohami
 
Deploying PHP Applications with Ansible
Deploying PHP Applications with AnsibleDeploying PHP Applications with Ansible
Deploying PHP Applications with Ansible
Orestes Carracedo
 
Automation and Ansible
Automation and AnsibleAutomation and Ansible
Automation and Ansible
jtyr
 
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12
Keith Resar
 
Ansible を完全にマスターする
Ansible を完全にマスターするAnsible を完全にマスターする
Ansible を完全にマスターする
Keisuke Kamada
 
Automation with ansible
Automation with ansibleAutomation with ansible
Automation with ansible
Khizer Naeem
 
Ansible whirlwind tour
Ansible whirlwind tourAnsible whirlwind tour
Ansible whirlwind tour
Sushant Srivastava
 
Introduction to ansible
Introduction to ansibleIntroduction to ansible
Introduction to ansible
Omid Vahdaty
 
Introducing Ansible
Introducing AnsibleIntroducing Ansible
Introducing Ansible
Francesco Pantano
 
Ansible - Introduction
Ansible - IntroductionAnsible - Introduction
Ansible - Introduction
Stephane Manciot
 
Tool it Up! - Session #1 - Xhprof
Tool it Up! - Session #1 - XhprofTool it Up! - Session #1 - Xhprof
Tool it Up! - Session #1 - Xhprof
toolitup
 
Ansible intro
Ansible introAnsible intro
Ansible intro
Hsi-Kai Wang
 
Ansibleではじめるサーバー・ネットワークの自動化 (Ansible2.7情報つき)2018/10/12
Ansibleではじめるサーバー・ネットワークの自動化 (Ansible2.7情報つき)2018/10/12Ansibleではじめるサーバー・ネットワークの自動化 (Ansible2.7情報つき)2018/10/12
Ansibleではじめるサーバー・ネットワークの自動化 (Ansible2.7情報つき)2018/10/12
akira6592
 

What's hot (20)

Ansible Introduction - Ansible Brno #1 - David Karban
Ansible Introduction - Ansible Brno #1 - David KarbanAnsible Introduction - Ansible Brno #1 - David Karban
Ansible Introduction - Ansible Brno #1 - David Karban
 
Automating with Ansible
Automating with AnsibleAutomating with Ansible
Automating with Ansible
 
A quick intro to Ansible
A quick intro to AnsibleA quick intro to Ansible
A quick intro to Ansible
 
Jenkins and ansible reference
Jenkins and ansible referenceJenkins and ansible reference
Jenkins and ansible reference
 
ansible why ?
ansible why ?ansible why ?
ansible why ?
 
JavaScript tips - Unnest callbacks and method declarations
JavaScript tips - Unnest callbacks and method declarationsJavaScript tips - Unnest callbacks and method declarations
JavaScript tips - Unnest callbacks and method declarations
 
Ansible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife OrchestrationAnsible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife Orchestration
 
Ansible 2.0 - How to use Ansible to automate your applications in AWS.
Ansible 2.0 - How to use Ansible to automate your applications in AWS.Ansible 2.0 - How to use Ansible to automate your applications in AWS.
Ansible 2.0 - How to use Ansible to automate your applications in AWS.
 
Deploying PHP Applications with Ansible
Deploying PHP Applications with AnsibleDeploying PHP Applications with Ansible
Deploying PHP Applications with Ansible
 
Automation and Ansible
Automation and AnsibleAutomation and Ansible
Automation and Ansible
 
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12
 
Ansible を完全にマスターする
Ansible を完全にマスターするAnsible を完全にマスターする
Ansible を完全にマスターする
 
Automation with ansible
Automation with ansibleAutomation with ansible
Automation with ansible
 
Ansible whirlwind tour
Ansible whirlwind tourAnsible whirlwind tour
Ansible whirlwind tour
 
Introduction to ansible
Introduction to ansibleIntroduction to ansible
Introduction to ansible
 
Introducing Ansible
Introducing AnsibleIntroducing Ansible
Introducing Ansible
 
Ansible - Introduction
Ansible - IntroductionAnsible - Introduction
Ansible - Introduction
 
Tool it Up! - Session #1 - Xhprof
Tool it Up! - Session #1 - XhprofTool it Up! - Session #1 - Xhprof
Tool it Up! - Session #1 - Xhprof
 
Ansible intro
Ansible introAnsible intro
Ansible intro
 
Ansibleではじめるサーバー・ネットワークの自動化 (Ansible2.7情報つき)2018/10/12
Ansibleではじめるサーバー・ネットワークの自動化 (Ansible2.7情報つき)2018/10/12Ansibleではじめるサーバー・ネットワークの自動化 (Ansible2.7情報つき)2018/10/12
Ansibleではじめるサーバー・ネットワークの自動化 (Ansible2.7情報つき)2018/10/12
 

Viewers also liked

куделька 2013
куделька 2013куделька 2013
куделька 2013Elekxa
 
Webinar 2 Handout "So vermarktest du deinen Onlinekurs"
Webinar 2 Handout "So vermarktest du deinen Onlinekurs"Webinar 2 Handout "So vermarktest du deinen Onlinekurs"
Webinar 2 Handout "So vermarktest du deinen Onlinekurs"
Marit Alke
 
Horouf
HoroufHorouf
PRESENTACION DEL CURSO
PRESENTACION DEL CURSO PRESENTACION DEL CURSO
PRESENTACION DEL CURSO
magdalalema
 
Lifletnya ivh
Lifletnya ivhLifletnya ivh
Lifletnya ivh
Melz Mutz
 
Tejido Sanguíneo
Tejido SanguíneoTejido Sanguíneo
Tejido Sanguíneo
Denisse Godínez
 
2015 Евгения Смородникова, Павел Правдин, Coffeelab.vc: Founder Institute, I...
2015 Евгения Смородникова, Павел Правдин, Coffeelab.vc: Founder Institute,  I...2015 Евгения Смородникова, Павел Правдин, Coffeelab.vc: Founder Institute,  I...
2015 Евгения Смородникова, Павел Правдин, Coffeelab.vc: Founder Institute, I...
SpbStartupDay
 
«5 ошибок оптимизации, которые держат ваш сайт на второй странице» Артем Пилипец
«5 ошибок оптимизации, которые держат ваш сайт на второй странице» Артем Пилипец«5 ошибок оптимизации, которые держат ваш сайт на второй странице» Артем Пилипец
«5 ошибок оптимизации, которые держат ваш сайт на второй странице» Артем Пилипец
Клуб Интернет-Маркетологов
 
Carla sexto a
Carla sexto aCarla sexto a
Carla sexto a
marinatoste
 
Principios del avaluo de inmuebles
Principios del avaluo de inmueblesPrincipios del avaluo de inmuebles
Principios del avaluo de inmuebles
Rafael Daniel Santos
 
Writing
WritingWriting
Writing
Elekxa
 
DESIGN OF RIGID PAVEMENT AND ITS COST-BENEFIT ANALYSIS BY USAGE OF VITRIFIED ...
DESIGN OF RIGID PAVEMENT AND ITS COST-BENEFIT ANALYSIS BY USAGE OF VITRIFIED ...DESIGN OF RIGID PAVEMENT AND ITS COST-BENEFIT ANALYSIS BY USAGE OF VITRIFIED ...
DESIGN OF RIGID PAVEMENT AND ITS COST-BENEFIT ANALYSIS BY USAGE OF VITRIFIED ...
IAEME Publication
 
Nombra1
Nombra1Nombra1
El vitalismo hahnemanniano
El vitalismo hahnemannianoEl vitalismo hahnemanniano
El vitalismo hahnemanniano
INSTITUTO DE ESTUDIOS SUPERIORES DE PUEBLA
 
Certicado de requerimiento no atendido
Certicado de requerimiento no atendidoCerticado de requerimiento no atendido
Certicado de requerimiento no atendido
Emagister
 
Resumen recursos inmigrantes
Resumen recursos inmigrantesResumen recursos inmigrantes
Resumen recursos inmigrantes
Emagister
 
Desarrollo minero y conflictos
Desarrollo minero y conflictosDesarrollo minero y conflictos
Desarrollo minero y conflictos
19902311
 
Vocabulario blog
Vocabulario blogVocabulario blog
Vocabulario blog
Alex Cabrera
 

Viewers also liked (18)

куделька 2013
куделька 2013куделька 2013
куделька 2013
 
Webinar 2 Handout "So vermarktest du deinen Onlinekurs"
Webinar 2 Handout "So vermarktest du deinen Onlinekurs"Webinar 2 Handout "So vermarktest du deinen Onlinekurs"
Webinar 2 Handout "So vermarktest du deinen Onlinekurs"
 
Horouf
HoroufHorouf
Horouf
 
PRESENTACION DEL CURSO
PRESENTACION DEL CURSO PRESENTACION DEL CURSO
PRESENTACION DEL CURSO
 
Lifletnya ivh
Lifletnya ivhLifletnya ivh
Lifletnya ivh
 
Tejido Sanguíneo
Tejido SanguíneoTejido Sanguíneo
Tejido Sanguíneo
 
2015 Евгения Смородникова, Павел Правдин, Coffeelab.vc: Founder Institute, I...
2015 Евгения Смородникова, Павел Правдин, Coffeelab.vc: Founder Institute,  I...2015 Евгения Смородникова, Павел Правдин, Coffeelab.vc: Founder Institute,  I...
2015 Евгения Смородникова, Павел Правдин, Coffeelab.vc: Founder Institute, I...
 
«5 ошибок оптимизации, которые держат ваш сайт на второй странице» Артем Пилипец
«5 ошибок оптимизации, которые держат ваш сайт на второй странице» Артем Пилипец«5 ошибок оптимизации, которые держат ваш сайт на второй странице» Артем Пилипец
«5 ошибок оптимизации, которые держат ваш сайт на второй странице» Артем Пилипец
 
Carla sexto a
Carla sexto aCarla sexto a
Carla sexto a
 
Principios del avaluo de inmuebles
Principios del avaluo de inmueblesPrincipios del avaluo de inmuebles
Principios del avaluo de inmuebles
 
Writing
WritingWriting
Writing
 
DESIGN OF RIGID PAVEMENT AND ITS COST-BENEFIT ANALYSIS BY USAGE OF VITRIFIED ...
DESIGN OF RIGID PAVEMENT AND ITS COST-BENEFIT ANALYSIS BY USAGE OF VITRIFIED ...DESIGN OF RIGID PAVEMENT AND ITS COST-BENEFIT ANALYSIS BY USAGE OF VITRIFIED ...
DESIGN OF RIGID PAVEMENT AND ITS COST-BENEFIT ANALYSIS BY USAGE OF VITRIFIED ...
 
Nombra1
Nombra1Nombra1
Nombra1
 
El vitalismo hahnemanniano
El vitalismo hahnemannianoEl vitalismo hahnemanniano
El vitalismo hahnemanniano
 
Certicado de requerimiento no atendido
Certicado de requerimiento no atendidoCerticado de requerimiento no atendido
Certicado de requerimiento no atendido
 
Resumen recursos inmigrantes
Resumen recursos inmigrantesResumen recursos inmigrantes
Resumen recursos inmigrantes
 
Desarrollo minero y conflictos
Desarrollo minero y conflictosDesarrollo minero y conflictos
Desarrollo minero y conflictos
 
Vocabulario blog
Vocabulario blogVocabulario blog
Vocabulario blog
 

Similar to Codemotion 2015

Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaBasics of Ansible - Sahil Davawala
Basics of Ansible - Sahil Davawala
Sahil Davawala
 
Automation@Brainly - Polish Linux Autumn 2014
Automation@Brainly - Polish Linux Autumn 2014Automation@Brainly - Polish Linux Autumn 2014
Automation@Brainly - Polish Linux Autumn 2014
vespian_256
 
Ansible
AnsibleAnsible
Ansible
Afroz Hussain
 
PLNOG Automation@Brainly
PLNOG Automation@BrainlyPLNOG Automation@Brainly
PLNOG Automation@Brainly
vespian_256
 
PLNOG14: Automation at Brainly - Paweł Rozlach
PLNOG14: Automation at Brainly - Paweł RozlachPLNOG14: Automation at Brainly - Paweł Rozlach
PLNOG14: Automation at Brainly - Paweł Rozlach
PROIDEA
 
Ansible
AnsibleAnsible
Ansible
Michal Haták
 
PowerShell for SharePoint Developers
PowerShell for SharePoint DevelopersPowerShell for SharePoint Developers
PowerShell for SharePoint Developers
Boulos Dib
 
Deploying Symfony2 app with Ansible
Deploying Symfony2 app with AnsibleDeploying Symfony2 app with Ansible
Deploying Symfony2 app with Ansible
Roman Rodomansky
 
Ansible Hands On
Ansible Hands OnAnsible Hands On
Ansible Hands On
Gianluca Farinelli
 
Ansible_Basics_ppt.pdf
Ansible_Basics_ppt.pdfAnsible_Basics_ppt.pdf
Ansible_Basics_ppt.pdf
PrabhjotSingh976002
 
Workflow story: Theory versus Practice in large enterprises by Marcin Piebiak
Workflow story: Theory versus Practice in large enterprises by Marcin PiebiakWorkflow story: Theory versus Practice in large enterprises by Marcin Piebiak
Workflow story: Theory versus Practice in large enterprises by Marcin Piebiak
NETWAYS
 
Workflow story: Theory versus practice in Large Enterprises
Workflow story: Theory versus practice in Large EnterprisesWorkflow story: Theory versus practice in Large Enterprises
Workflow story: Theory versus practice in Large Enterprises
Puppet
 
Windows PowerShell
Windows PowerShellWindows PowerShell
#OktoCampus - Workshop : An introduction to Ansible
#OktoCampus - Workshop : An introduction to Ansible#OktoCampus - Workshop : An introduction to Ansible
#OktoCampus - Workshop : An introduction to Ansible
Cédric Delgehier
 
Masterless puppet
Masterless puppetMasterless puppet
Masterless puppet
Jesus Nunez
 
Configuration Management and Salt
Configuration Management and SaltConfiguration Management and Salt
Configuration Management and Salt
55020
 
Docker meetup
Docker meetupDocker meetup
Docker meetup
Ruslan Lutsenko
 
Ansible, voyage au centre de l'automatisation
Ansible, voyage au centre de l'automatisationAnsible, voyage au centre de l'automatisation
Ansible, voyage au centre de l'automatisation
Mickael Hubert
 
Ansible 101, Gennadiy Mykhailiuta
Ansible 101, Gennadiy MykhailiutaAnsible 101, Gennadiy Mykhailiuta
Ansible 101, Gennadiy Mykhailiuta
Tetiana Saputo
 
PowerShell - Be A Cool Blue Kid
PowerShell - Be A Cool Blue KidPowerShell - Be A Cool Blue Kid
PowerShell - Be A Cool Blue Kid
Matthew Johnson
 

Similar to Codemotion 2015 (20)

Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaBasics of Ansible - Sahil Davawala
Basics of Ansible - Sahil Davawala
 
Automation@Brainly - Polish Linux Autumn 2014
Automation@Brainly - Polish Linux Autumn 2014Automation@Brainly - Polish Linux Autumn 2014
Automation@Brainly - Polish Linux Autumn 2014
 
Ansible
AnsibleAnsible
Ansible
 
PLNOG Automation@Brainly
PLNOG Automation@BrainlyPLNOG Automation@Brainly
PLNOG Automation@Brainly
 
PLNOG14: Automation at Brainly - Paweł Rozlach
PLNOG14: Automation at Brainly - Paweł RozlachPLNOG14: Automation at Brainly - Paweł Rozlach
PLNOG14: Automation at Brainly - Paweł Rozlach
 
Ansible
AnsibleAnsible
Ansible
 
PowerShell for SharePoint Developers
PowerShell for SharePoint DevelopersPowerShell for SharePoint Developers
PowerShell for SharePoint Developers
 
Deploying Symfony2 app with Ansible
Deploying Symfony2 app with AnsibleDeploying Symfony2 app with Ansible
Deploying Symfony2 app with Ansible
 
Ansible Hands On
Ansible Hands OnAnsible Hands On
Ansible Hands On
 
Ansible_Basics_ppt.pdf
Ansible_Basics_ppt.pdfAnsible_Basics_ppt.pdf
Ansible_Basics_ppt.pdf
 
Workflow story: Theory versus Practice in large enterprises by Marcin Piebiak
Workflow story: Theory versus Practice in large enterprises by Marcin PiebiakWorkflow story: Theory versus Practice in large enterprises by Marcin Piebiak
Workflow story: Theory versus Practice in large enterprises by Marcin Piebiak
 
Workflow story: Theory versus practice in Large Enterprises
Workflow story: Theory versus practice in Large EnterprisesWorkflow story: Theory versus practice in Large Enterprises
Workflow story: Theory versus practice in Large Enterprises
 
Windows PowerShell
Windows PowerShellWindows PowerShell
Windows PowerShell
 
#OktoCampus - Workshop : An introduction to Ansible
#OktoCampus - Workshop : An introduction to Ansible#OktoCampus - Workshop : An introduction to Ansible
#OktoCampus - Workshop : An introduction to Ansible
 
Masterless puppet
Masterless puppetMasterless puppet
Masterless puppet
 
Configuration Management and Salt
Configuration Management and SaltConfiguration Management and Salt
Configuration Management and Salt
 
Docker meetup
Docker meetupDocker meetup
Docker meetup
 
Ansible, voyage au centre de l'automatisation
Ansible, voyage au centre de l'automatisationAnsible, voyage au centre de l'automatisation
Ansible, voyage au centre de l'automatisation
 
Ansible 101, Gennadiy Mykhailiuta
Ansible 101, Gennadiy MykhailiutaAnsible 101, Gennadiy Mykhailiuta
Ansible 101, Gennadiy Mykhailiuta
 
PowerShell - Be A Cool Blue Kid
PowerShell - Be A Cool Blue KidPowerShell - Be A Cool Blue Kid
PowerShell - Be A Cool Blue Kid
 

Recently uploaded

Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 

Recently uploaded (20)

Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 

Codemotion 2015

Editor's Notes

  1. -Ya 10 años entorno al desarrollo de software -El ecosistema de ticketbis crece rápido y empieza a ser necesario que los pases sean algo que no de problemas -Ya utilizamos chef y por un problema de carga de trabajo y de como se ditribuian las tareas entra ansible
  2. -Te lo puedes instalar por pip, paquetería. -No funciona en windows como máquina de control pero si que empieza a avanzar el tema controlar máquinas windows -Genera scripts en python que son enviados a la máquina en la que se tienen que ejecutar por ssh -Lo que conseguimos con ansible es que desde una máquina que no es ninguna de las de producción podemos decir: “Hey ansible, haz esto contra todas estas máquinas” Sin necesidad de instalar ni modificar nada en esas máquinas. Disclaimer: Vamos a usar Virtualbox y Vagrant, aunque los utilizaremos de manera exhaustiva a lo largo del taller no tienen nada que ver con Ansible per se. Virtualbox es un software de virtualización y Vagrant un manejador que utilizaremos para definir, arrancar, parar y destruir las máquinas virtuales.
  3. -Ver el vagrantfile, explicar la IP y que el insert key none es para poder distribuir comodamente la key con el código. -Acceder por ssh a la máquina “por ultima vez” -Explicar el ansible.cfg y el hosts -Leer el task1.md
  4. -¡¡¡¡Id encendiendo las máquinas virtuales!!!! -El inventario es, como la palabra lo dice, un inventario, de tu infraestructura, un fichero de texto en el que con una sintaxis concreta podemos listar y agrupar todas nuestras máquinas. -El fichero de configuracion (ansible.cfg) es el que dicta a Ansible información como localización del inventario o llaves con las que ejecutar las operaciones. -En ambos ficheros se pueden definir variables en función del scope de su alcance. Si somos gente muy organizada y tenemos el mismo usuario en todas las máquinas podremos definirlo en el fichero de configuración mientras que si necesitamos usuarios/credenciales distinta para cada máquina deberemos definirlos a nivel de inventario para disponer de una granularidad mas fina.
  5. -Tu infraestructura está listada en un fichero de texto bastante legible que es el que utilizas para manejarla, es imposible tener una documentación mas actualizada. -Los grupos dan mucha versatilidad, si cuando ejecutas tareas cabe pensar que aplican a un subgrupo de tus máquinas o a todas ellas, ansible facilita en gran manera que no se cometan errores. -Por ahora no hemos conseguido mas que un SSH con esteroides, pero con muchos esteroides, por manténganse a la escucha, aun hay mas.
  6. -Id arrancando las máquinas de la task3 -Los módulos sustituyen comandos que irias ejecutando, son una comandos de alto nivel que se lanzan desde ansible, son como una capa de abstracción sobre tareas que ejecutariamos desde una shell. -Inicialmente todos pensamos que para ejecutar un apt o crear un usuario vamos mas rápido utilizando el módulo command, pero si se han implementado por algo será. -Por otro lado, el controlo sobre lo ejecutado y no ejecutado, control de salida, et cetera es de grano mucho mas fino. -Las playbooks con “libros de instrucciones” que aplicar sobre ciertas máquinas, en ellas contamos con variables, definimos las máquinas destino et cetera. -Como primer paso del ejercicio, intentar que se instale git desde linea de comandos utilizando el módulo apt