SlideShare una empresa de Scribd logo
1 de 28
Descargar para leer sin conexión
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014
> what is ansible* ?
“Ansible is a configuration management,
application deployment and
IT Orchestration tool ”
"infrastructure as code"
synthesis of;
- configuration management, automation tools (Puppet, Chef, cfengine)
- deployment tools (Capistrano, Fabric)
- ad-hoc task execution tools (Func, pssh, etc)
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014
> me
@serkancapkan
nl.linkedin.com/in/serkancapkan
twitter.com/serkancapkan
system administrator @Liberty Global (NL)
ipara.com, sahibinden.com, TMMOB EMO, ITU
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 3/27
> summary
- why we need configuration management?
- what is ansible?
- howto: installation & configuration & runtime
- discussions
- questions
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 4/27
> why we need configuration management?
- system installation & provisioning
- system configuration
- service installation
- application deployment
- configuration management
- system based
- service based
- application based
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 5/27
> why we need configuration management?
- change management
- system based
- service based
- application based
- automate repetitive tasks
- configuration integrity
- documentation (system based)
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 6/27
- continuous deployment (ansible&jenkins)
- packaging software product (software | software+system)
- remote command execution
- auto scalability (system base, auto)
- be able to create same systems in case of emergency
- create different environments (dev, stating, load test)
> why we need configuration management?
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014
synthesis of;
- configuration management, automation tools (Puppet, Chef, cfengine)
- deployment tools (Capistrano, Fabric)
- ad-hoc task execution tools (Func, pssh, etc)
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 7/27
> what is ansible* ?
“Ansible is a configuration management,
application deployment and
IT Orchestration tool ”
"infrastructure as code"
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014
- Michael DeHaan (@laserllama)
- python
- ssh authenticate
- ansible works, company
- free (speech & beer)
- feb 2012
- 643+ contributor
*Rocannon's World, Dispossessed
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 8/27
> what is ansible* ?
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 9/27
- radically simple
- fast, low resource usage
- no requirement (except Python 2.4 or later)
- push based (pull also possible)
- agentless
- no specific port
- no new authentication integration
> what is ansible* ?
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 10/27
- basic tasks basic
- complicated projects possible, easy to implement
- playbook
- roles
- playbooks use yaml format ( like ad hoc )(:/)
- task executed in order
- highly scalable (+6000 parallel)
> what is ansible* ?
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 11/27
- integratable ( json output)
- robust module architecture
- part of core code, 1 module for 1 work
- write your own module in any language (json)
- ansible galaxy
- ansible tower (formerly ‘AWX’) (web ui) ( $ )
> what is ansible* ?
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 12/27
- installation
- source
- pip
- package manager
yum - EPEL
apt- PPA
> howto: installation & configuration & runtime
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 13/27
- installation
- ssh key authentication
- inventory
- go!
> howto: installation & configuration & runtime
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 14/27
- runtime (ad-hoc)
ansible [host] -m [module] -a [arguments]
> howto: installation & configuration & runtime
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 15/27
- runtime (ad-hoc)
> howto: installation & configuration & runtime
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 16/27
- runtime
> howto: installation & configuration & runtime
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 17/27
- runtime (ad-hoc)
> howto: installation & configuration & runtime
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 18/27
- runtime (ad-hoc)
> howto: installation & configuration & runtime
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 19/27
- runtime (playbook)
> howto: installation & configuration & runtime
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 20/27
- runtime (playbook)
> howto: installation & configuration & runtime
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 21/27
- runtime (playbook adhoc)
> howto: installation & configuration & runtime
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 22/27
- runtime (playbook adhoc)
> howto: installation & configuration & runtime
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 23/27
- runtime (playbook - role)
site.yml
> howto: installation & configuration & runtime
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 24/27
ansible-galaxy install username.rolename
> howto: ansible-galaxy
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 24/27
ansible-galaxy install username.rolename
> howto: ansible-galaxy
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014
- cloud
- amazon, openstack, digital ocean, netscaler, google compute engine
- [ec2 workshop]
ansible
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014
> howto: installation & configuration & runtime
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 26/27
- system administration
- system development
- devops
> discussions
Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 27/27
● http://www.ansible.com/blog/2013/12/08/the-origins-of-ansible
● http://www.ansible.com/blog/2013/11/29/ansibles-architecture-beyond-configuration-
management
● http://docs.ansible.com/
● http://highscalability.com/blog/2012/4/18/ansible-a-simple-model-driven-configuration-
management-and-c.html
> extra

Más contenido relacionado

Similar a Ansible - General Concepts and Summary

install mosquitto-auth-plug - cheat sheet -
install mosquitto-auth-plug - cheat sheet -install mosquitto-auth-plug - cheat sheet -
install mosquitto-auth-plug - cheat sheet -Naoto MATSUMOTO
 
Deploying Symfony2 app with Ansible
Deploying Symfony2 app with AnsibleDeploying Symfony2 app with Ansible
Deploying Symfony2 app with AnsibleRoman Rodomansky
 
Approaches to enable the OSPF protocol in Apache CloudStack
Approaches to enable the OSPF protocol in Apache CloudStackApproaches to enable the OSPF protocol in Apache CloudStack
Approaches to enable the OSPF protocol in Apache CloudStackMarco Sinhoreli
 
Lxc – next gen virtualization for cloud intro (cloudexpo)
Lxc – next gen virtualization for cloud   intro (cloudexpo)Lxc – next gen virtualization for cloud   intro (cloudexpo)
Lxc – next gen virtualization for cloud intro (cloudexpo)Boden Russell
 
An Overview of the IHK/McKernel Multi-kernel Operating System
An Overview of the IHK/McKernel Multi-kernel Operating SystemAn Overview of the IHK/McKernel Multi-kernel Operating System
An Overview of the IHK/McKernel Multi-kernel Operating SystemLinaro
 
Juan Vazquez & Julián Vilas – Tú a Barcelona y yo a Tejas, a patadas con mi S...
Juan Vazquez & Julián Vilas – Tú a Barcelona y yo a Tejas, a patadas con mi S...Juan Vazquez & Julián Vilas – Tú a Barcelona y yo a Tejas, a patadas con mi S...
Juan Vazquez & Julián Vilas – Tú a Barcelona y yo a Tejas, a patadas con mi S...RootedCON
 
Developer Cloud Solution with OpenStack
Developer Cloud Solution with OpenStackDeveloper Cloud Solution with OpenStack
Developer Cloud Solution with OpenStackThe World Bank
 
Scaling a Serverless Developer Platform for Teams
Scaling a Serverless Developer Platform for TeamsScaling a Serverless Developer Platform for Teams
Scaling a Serverless Developer Platform for TeamsMikael Vesavuori
 
CloudOpen 2014 - Extending Cloud Automation, When OpenStack Meets Ansible
CloudOpen 2014 - Extending Cloud Automation, When OpenStack Meets AnsibleCloudOpen 2014 - Extending Cloud Automation, When OpenStack Meets Ansible
CloudOpen 2014 - Extending Cloud Automation, When OpenStack Meets AnsibleBenjamin Zores
 
우분투의 현재와 미래(장태희) - 11/05 Open Technet Summit Fall(Ubuntu Korea Community)
우분투의 현재와 미래(장태희) - 11/05 Open Technet Summit Fall(Ubuntu Korea Community)우분투의 현재와 미래(장태희) - 11/05 Open Technet Summit Fall(Ubuntu Korea Community)
우분투의 현재와 미래(장태희) - 11/05 Open Technet Summit Fall(Ubuntu Korea Community)Taehee Jang
 
How to ride a 100GbE LAN -MEMO-
How to ride a 100GbE LAN -MEMO-How to ride a 100GbE LAN -MEMO-
How to ride a 100GbE LAN -MEMO-Naoto MATSUMOTO
 
Cytoscape and External Data Analysis Tools
Cytoscape and External Data Analysis ToolsCytoscape and External Data Analysis Tools
Cytoscape and External Data Analysis ToolsKeiichiro Ono
 
Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaBasics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaSahil Davawala
 
Surat MuleSoft Meetup#2 - Anypoint Runtime Fabric
Surat MuleSoft Meetup#2 - Anypoint Runtime FabricSurat MuleSoft Meetup#2 - Anypoint Runtime Fabric
Surat MuleSoft Meetup#2 - Anypoint Runtime FabricJitendra Bafna
 
outpass system
outpass systemoutpass system
outpass systemDhivakar K
 

Similar a Ansible - General Concepts and Summary (20)

install mosquitto-auth-plug - cheat sheet -
install mosquitto-auth-plug - cheat sheet -install mosquitto-auth-plug - cheat sheet -
install mosquitto-auth-plug - cheat sheet -
 
Deploying Symfony2 app with Ansible
Deploying Symfony2 app with AnsibleDeploying Symfony2 app with Ansible
Deploying Symfony2 app with Ansible
 
Approaches to enable the OSPF protocol in Apache CloudStack
Approaches to enable the OSPF protocol in Apache CloudStackApproaches to enable the OSPF protocol in Apache CloudStack
Approaches to enable the OSPF protocol in Apache CloudStack
 
Lxc – next gen virtualization for cloud intro (cloudexpo)
Lxc – next gen virtualization for cloud   intro (cloudexpo)Lxc – next gen virtualization for cloud   intro (cloudexpo)
Lxc – next gen virtualization for cloud intro (cloudexpo)
 
ansible why ?
ansible why ?ansible why ?
ansible why ?
 
MongoSV 2011
MongoSV 2011MongoSV 2011
MongoSV 2011
 
An Overview of the IHK/McKernel Multi-kernel Operating System
An Overview of the IHK/McKernel Multi-kernel Operating SystemAn Overview of the IHK/McKernel Multi-kernel Operating System
An Overview of the IHK/McKernel Multi-kernel Operating System
 
Juan Vazquez & Julián Vilas – Tú a Barcelona y yo a Tejas, a patadas con mi S...
Juan Vazquez & Julián Vilas – Tú a Barcelona y yo a Tejas, a patadas con mi S...Juan Vazquez & Julián Vilas – Tú a Barcelona y yo a Tejas, a patadas con mi S...
Juan Vazquez & Julián Vilas – Tú a Barcelona y yo a Tejas, a patadas con mi S...
 
Developer Cloud Solution with OpenStack
Developer Cloud Solution with OpenStackDeveloper Cloud Solution with OpenStack
Developer Cloud Solution with OpenStack
 
Scaling a Serverless Developer Platform for Teams
Scaling a Serverless Developer Platform for TeamsScaling a Serverless Developer Platform for Teams
Scaling a Serverless Developer Platform for Teams
 
Ansible101
Ansible101Ansible101
Ansible101
 
CloudOpen 2014 - Extending Cloud Automation, When OpenStack Meets Ansible
CloudOpen 2014 - Extending Cloud Automation, When OpenStack Meets AnsibleCloudOpen 2014 - Extending Cloud Automation, When OpenStack Meets Ansible
CloudOpen 2014 - Extending Cloud Automation, When OpenStack Meets Ansible
 
The DNA of OPNFV
The DNA of OPNFVThe DNA of OPNFV
The DNA of OPNFV
 
우분투의 현재와 미래(장태희) - 11/05 Open Technet Summit Fall(Ubuntu Korea Community)
우분투의 현재와 미래(장태희) - 11/05 Open Technet Summit Fall(Ubuntu Korea Community)우분투의 현재와 미래(장태희) - 11/05 Open Technet Summit Fall(Ubuntu Korea Community)
우분투의 현재와 미래(장태희) - 11/05 Open Technet Summit Fall(Ubuntu Korea Community)
 
How to ride a 100GbE LAN -MEMO-
How to ride a 100GbE LAN -MEMO-How to ride a 100GbE LAN -MEMO-
How to ride a 100GbE LAN -MEMO-
 
Cytoscape and External Data Analysis Tools
Cytoscape and External Data Analysis ToolsCytoscape and External Data Analysis Tools
Cytoscape and External Data Analysis Tools
 
Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaBasics of Ansible - Sahil Davawala
Basics of Ansible - Sahil Davawala
 
Surat MuleSoft Meetup#2 - Anypoint Runtime Fabric
Surat MuleSoft Meetup#2 - Anypoint Runtime FabricSurat MuleSoft Meetup#2 - Anypoint Runtime Fabric
Surat MuleSoft Meetup#2 - Anypoint Runtime Fabric
 
outpass system
outpass systemoutpass system
outpass system
 
Bintan
BintanBintan
Bintan
 

Último

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfRagavanV2
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoordharasingh5698
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 

Último (20)

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 

Ansible - General Concepts and Summary

  • 1. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 > what is ansible* ? “Ansible is a configuration management, application deployment and IT Orchestration tool ” "infrastructure as code" synthesis of; - configuration management, automation tools (Puppet, Chef, cfengine) - deployment tools (Capistrano, Fabric) - ad-hoc task execution tools (Func, pssh, etc)
  • 2. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 > me @serkancapkan nl.linkedin.com/in/serkancapkan twitter.com/serkancapkan system administrator @Liberty Global (NL) ipara.com, sahibinden.com, TMMOB EMO, ITU
  • 3. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 3/27 > summary - why we need configuration management? - what is ansible? - howto: installation & configuration & runtime - discussions - questions
  • 4. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 4/27 > why we need configuration management? - system installation & provisioning - system configuration - service installation - application deployment - configuration management - system based - service based - application based
  • 5. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 5/27 > why we need configuration management? - change management - system based - service based - application based - automate repetitive tasks - configuration integrity - documentation (system based)
  • 6. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 6/27 - continuous deployment (ansible&jenkins) - packaging software product (software | software+system) - remote command execution - auto scalability (system base, auto) - be able to create same systems in case of emergency - create different environments (dev, stating, load test) > why we need configuration management?
  • 7. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 synthesis of; - configuration management, automation tools (Puppet, Chef, cfengine) - deployment tools (Capistrano, Fabric) - ad-hoc task execution tools (Func, pssh, etc) Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 7/27 > what is ansible* ? “Ansible is a configuration management, application deployment and IT Orchestration tool ” "infrastructure as code"
  • 8. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 - Michael DeHaan (@laserllama) - python - ssh authenticate - ansible works, company - free (speech & beer) - feb 2012 - 643+ contributor *Rocannon's World, Dispossessed Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 8/27 > what is ansible* ?
  • 9. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 9/27 - radically simple - fast, low resource usage - no requirement (except Python 2.4 or later) - push based (pull also possible) - agentless - no specific port - no new authentication integration > what is ansible* ?
  • 10. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 10/27 - basic tasks basic - complicated projects possible, easy to implement - playbook - roles - playbooks use yaml format ( like ad hoc )(:/) - task executed in order - highly scalable (+6000 parallel) > what is ansible* ?
  • 11. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 11/27 - integratable ( json output) - robust module architecture - part of core code, 1 module for 1 work - write your own module in any language (json) - ansible galaxy - ansible tower (formerly ‘AWX’) (web ui) ( $ ) > what is ansible* ?
  • 12. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 12/27 - installation - source - pip - package manager yum - EPEL apt- PPA > howto: installation & configuration & runtime
  • 13. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 13/27 - installation - ssh key authentication - inventory - go! > howto: installation & configuration & runtime
  • 14. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 14/27 - runtime (ad-hoc) ansible [host] -m [module] -a [arguments] > howto: installation & configuration & runtime
  • 15. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 15/27 - runtime (ad-hoc) > howto: installation & configuration & runtime
  • 16. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 16/27 - runtime > howto: installation & configuration & runtime
  • 17. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 17/27 - runtime (ad-hoc) > howto: installation & configuration & runtime
  • 18. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 18/27 - runtime (ad-hoc) > howto: installation & configuration & runtime
  • 19. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 19/27 - runtime (playbook) > howto: installation & configuration & runtime
  • 20. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 20/27 - runtime (playbook) > howto: installation & configuration & runtime
  • 21. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 21/27 - runtime (playbook adhoc) > howto: installation & configuration & runtime
  • 22. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 22/27 - runtime (playbook adhoc) > howto: installation & configuration & runtime
  • 23. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 23/27 - runtime (playbook - role) site.yml > howto: installation & configuration & runtime
  • 24. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 24/27 ansible-galaxy install username.rolename > howto: ansible-galaxy
  • 25. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 24/27 ansible-galaxy install username.rolename > howto: ansible-galaxy
  • 26. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 - cloud - amazon, openstack, digital ocean, netscaler, google compute engine - [ec2 workshop] ansible Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 > howto: installation & configuration & runtime
  • 27. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 26/27 - system administration - system development - devops > discussions
  • 28. Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014Özgür Yazılım ve Linux Günleri / Istanbul / 29.03.2014 27/27 ● http://www.ansible.com/blog/2013/12/08/the-origins-of-ansible ● http://www.ansible.com/blog/2013/11/29/ansibles-architecture-beyond-configuration- management ● http://docs.ansible.com/ ● http://highscalability.com/blog/2012/4/18/ansible-a-simple-model-driven-configuration- management-and-c.html > extra