舉報

會員
Ansible Playbook Essentials
最新章節:
Index
Ansiblecombinesconfigurationmanagement,orchestration,andparallelcommandexecutionintoasingletool.Itsbatteries-includedapproachandbuilt-inmodulelibrarymakesiteasytointegrateitwithcloudplatforms,databases,andnotificationserviceswithoutrequiringadditionalplugins.PlaybooksinAnsibledefinethepoliciesyoursystemsundermanagementenforce.Theyfacilitateeffectiveconfigurationmanagementratherthanrunningadhocscriptstodeploycomplexapplications.Thisbookwillshowyouhowtowriteablueprintofyourinfrastructureencompassingmulti-tierapplicationsusingAnsible'splaybooks.Beginningwiththebasicconceptssuchasplays,tasks,handlers,inventory,andtheYAMLsyntaxthatAnsibleuses,youwillseehowtoorganizeyourcodeintoamodularstructure.Buildingonthis,youwillmastertechniquestocreatedata-drivenplaybookswithvariables,templates,logicalconstructs,andencrypteddata.Thisbookwillalsotakeyouthroughadvancedclusteringconceptssuchasdiscoveringtopologyinformation,managingmultipleenvironments,andorchestration.Bytheendofthisbook,youwillbeabletodesignsolutionstoyourautomationandorchestrationproblemsusingplaybooksquicklyandefficiently.
目錄(95章)
倒序
- coverpage
- Ansible Playbook Essentials
- Credits
- About the Author
- Acknowledgments
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Setting Up the Learning Environment
- Understanding the learning environment
- Chapter 1. Blueprinting Your Infrastructure
- Getting introduced to Ansible
- Plays
- Our first playbook
- Review questions
- Summary
- Chapter 2. Going Modular with Ansible Roles
- Understanding roles
- Naming roles
- The directory layout for roles
- Creating a site-wide playbook nesting and using include statements
- Creating the www playbook
- Creating a base role
- Creating an Nginx role
- Automating events and actions with handlers
- Adding pre-tasks and post-tasks to playbooks
- Running playbooks with roles
- Review questions
- Summary
- Chapter 3. Separating Code and Data – Variables Facts and Templates
- Static content explosion
- Separating code and data
- Jinja2 templates
- Facts and variables
- Templating the Nginx configurations
- Adding another layer – the MySQL role
- Variable precedence
- The best practices for variable usage
- Review questions
- Summary
- Chapter 4. Bringing In Your Code – Custom Commands and Scripts
- The command modules
- Deploying a WordPress application – a hands-on approach
- Review questions
- Summary
- Chapter 5. Controlling Execution Flow – Conditionals
- The conditional control structure
- Refactoring the MySQL role
- Conditional control structure in Jinja2 templates
- Running a task only once
- Executing roles conditionally
- Review questions
- Summary
- Chapter 6. Iterative Control Structures – Loops
- The omnipotent with statement
- Configuring WordPress requisites
- The PHP5-FPM role
- Creating MySQL databases and user accounts
- Creating Nginx virtual hosts
- Review questions
- Summary
- Chapter 7. Node Discovery and Clustering
- Node discovery with magic variables
- Creating the load balancer role
- Accessing facts for non-playbook hosts
- Review questions
- Summary
- Chapter 8. Encrypting Data with Vault
- Ansible-vault
- Using the Ansible-vault
- Encrypting the database credentials
- Using a password file
- Adding the vault password file option to the Ansible configuration
- Review questions
- Summary
- Chapter 9. Managing Environments
- Approaches for managing environments
- Creating a development environment
- Review questions
- Summary
- Chapter 10. Orchestrating Infrastructure with Ansible
- Ansible as an orchestrator
- Tagging the roles
- Creating an orchestration playbook for WordPress
- Review questions
- Summary
- Appendix A. References
- Index 更新時間:2021-07-16 20:48:04
推薦閱讀
- 軟件架構設計:大型網站技術架構與業務架構融合之道
- 深入理解Django:框架內幕與實現原理
- Hadoop+Spark大數據分析實戰
- Mastering C# Concurrency
- Java持續交付
- 老“碼”識途
- SSM輕量級框架應用實戰
- Asynchronous Android Programming(Second Edition)
- Visual Basic程序設計教程
- Cybersecurity Attacks:Red Team Strategies
- 智能手機APP UI設計與應用任務教程
- C語言程序設計簡明教程:Qt實戰
- Android Sensor Programming By Example
- 計算語言學導論
- PHP Microservices
- HTML5程序設計基礎教程
- Swift 2 Design Patterns
- C語言從入門到精通(第5版)
- Hybrid Mobile Development with Ionic
- Pentaho Analytics for MongoDB Cookbook
- Python程序設計基礎教程(慕課版)
- C語言非常道
- INSTANT Fancybox
- 零基礎C++學習筆記
- Android 5 Programming by Example
- Hadoop技術內幕:深入解析MapReduce架構設計與實現原理
- Python高并發與高性能編程:原理與實踐
- Web技術應用基礎
- Oracle BPM Suite 11g:Advanced BPMN Topics
- SQL Server 2017從零開始學(視頻教學版)