"Ansible Automation Operations: Technology and Best practices" books are on the shelves, welcome to read

Source: Internet
Author: User
Tags haproxy ansible playbook

This book is created by senior Wiecheng division, through a number of examples, detailed explanation of ansible this automated Maintenance tool basic principles and use of skills; from the basic architecture analysis, installation configuration, to the typical application case analysis, the author shared his work in the actual combat experience, for all types of operations, DevOps developers provide a detailed guide. The main contents of this book include: Ansible architecture and installation, Ansible components, component extensions, Api,playbook, best practice case studies, ansible-vault protection of sensitive data, Ansible integration with cloud computing, deployment of ZABBIX components, Haproxy + lamp architecture, and ansible in the big Data environment, such as the application of the actual combat.

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/80/45/wKioL1c9IGCA102iAADfdY-kolg694.png "title=" 1.png " alt= "Wkiol1c9igca102iaadfdy-kolg694.png"/>

Directory

Objective
1th chapter Ansible Structure and Features 1
1.1 Ansible software and Company 2
1.1.1 Ansible application area 3
1.1.2 Ansible Software Release 5
1.1.3 Ansible Company Service 8
1.2 Ansible Architecture Mode 9
1.2.1 Ansible Management Method 10
1.2.2 Ansible System Architecture 11
1.2.3 Task Execution Mode 13
1.3 Ansible Characteristics 14
1.3.1 Ansible Functional Characteristics 14
1.3.2 Ansible vs. other configuration Management 21
1.4 Ansible and DevOps 22
1.5 Summary of this chapter 26
2nd Chapter Ansible Installation and Configuration 27
2.1 Ansible Environment Preparation 27
2.2 Installing Ansible 30
2.2.1 Directly with the source code installation 30
2.2.2 Installing with package management Tools 32

2.3 Configuring the operating Environment 34
2.3.1 Configuring the Ansible Environment 34
2.3.2 using public key authentication 36
2.3.3 Configuring a Linux host for SSH without password access 36
2.4 Ansible small Trial Skill 38
2.4.1 Host Connectivity Test 38
2.4.2 batch execution of commands on a managed node 39
2.5 Getting help information 40
2.6 Summary of this chapter 42
3rd. Ansible Component Introduction 43
3.1 Ansible Inventory 43
3.2 Ansible Ad-hoc Command 49
3.3 Ansible Playbook 56
3.4 Ansible Facts 56
3.5 Ansible Role 60
3.6 Ansible Galaxy 63
3.7 Summary of this chapter 63
4th Chapter Playbook Detailed 64
4.1 Playbook Basic Syntax 64
4.2 Playbook variables and references 70
4.3 Playbook Cycle 81
4.4 Playbook Lookups 91
4.5 Playbook Conditionals 96
4.6 JINJA2 Filter 99
4.7 Playbook Built-in variable 102
4.8 Summary of this chapter 106
5th ansible Best Practices 107
5.1 Optimizing Ansible Speed 107
5.2 Directory Structure 113
5.3 Defining a multi-environment 115
5.4 Grayscale Publishing and detection 115
5.5 Unified Management 116
5.6 Using Ansible-shell to interact with command line 116
5.7 Summary of this chapter 118
6th. Extended Ansible Components 119
6.1 Extension Facts 119
6.2 Expansion Module 125
6.3 Callback plug-in 130
6.4 Lookup Plugin 137
6.5 JINJA2 Filter 139
6.6 Summary of this chapter 143
7th. Protecting sensitive data with Ansible-vault 144
7.1 Understanding how Ansible-vault protects data 145
7.1.1 Advanced Encryption Standard 145
What 7.1.2 Ansible-vault can encrypt 145
7.2 Using Ansible-vault 146
7.2.1 Creating an encrypted data file 146
7.2.2 updating an encrypted data file 147
7.2.3 Changing the encrypted Data key 148
7.3 Typical Application Scenarios 148
7.3.1 Practice Scenario 1: Protecting sensitive data in ansible role 149
7.3.2 Practice Scenario 2: User authentication with encryption 151
7.3.3 Practice Scenario 3: Securing the SSL key in Nginx 152
7.4 Summary of this chapter 155
8th Chapter Ansible and cloud computing 156
8.1 Understanding the Cloud Platform Management process 156
8.2 Ansible AWS and OpenStack 157
8.3 Ansible and Docker 162
8.4 Ansible Jenkins 165
8.5 Summary of this chapter 169
9th. Deploying Zabbix Components 170
9.1 Understanding the deployment Process 170
9.2 Writing Business Roles 171
9.3 Installing Deployment 177
9.4 Summary of this chapter 179
10th. Deploy Haproxy + lamp architecture 180
10.1 Understanding the overall architecture process 180
10.2 Writing Business Roles 181
10.3 Configuring deployment and Testing 186
10.4 Expansion and Maintenance 188
10.5 Summary of this chapter 189
The 11th chapter of the application of the big Data Environment 190
11.1 A carrier big Data Environment 191
11.2 Preparing the Big Data cluster environment 192
11.2.1 Installing the operating system 195
11.2.2 Operating System Initialization 198
11.2.3 ansible password-free key execution Environment 204
11.2.4 Installing, configuring JDK 205
11.3 Deployment of Hadoop clusters 207
11.3.1 preparing for Hadoop basic role 209
11.3.2 Deploying Namenode Role 219
11.3.3 Deployment Explorer Role 221
11.3.4 Deploying Datanode Role 222
11.4 Post-deployment Hadoop initialization and validation 223
11.4.1 Post-deployment initialization 223
11.4.2 post-deployment Hadoop authentication 224
11.5 Summary of this chapter 226
12th Ansible Managing Windows systems 227
12.1 ansible Management How Windows Works 228
12.2 Building ansible Management team Windows environment 229
12.2.1 Installing and configuring the control host 230
12.2.2 managed Windows Host Configuration 230
12.2.3 Configuration Resource Listing 232
12.2.4 testing the connectivity of managed Windows hosts 234
12.2.5 FAQ Treatment 235
12.3 Building Ansible Managing Active Directory Windows environment 236
12.4 support for managing Windows modules 239
12.5 Common Windows Management instances 240
12.6 Summary of this chapter 244
The 13th chapter of network Automation management application Combat 246
13.1 Network management also automates 246
13.2 Ansible The official integrated network role 249
13.3 build configuration files and deployment 251
13.3.1 Generating a network configuration template 252
13.3.2 Deployment Configuration Template 255
13.4 Configuring the network through SNMP mode 257
13.5 network equipment manufacturers to provide interface to achieve automation 259
13.5.1 managing Cisco Nx-os 259
13.5.2 managing Junos 269
13.5.3 Management Cumulus Linux 273
13.6 Summary of this chapter 279
14th Chapter Ansible API 280
14.1 Runner API 280
14.2 Playbook API 283
14.3 Using flask encapsulation ansible API 286
14.4 using celery for Task Asynchrony 290
14.5 using jquery Ajax asynchronous request 297
14.6 Summary of this chapter 300
Appendix A ansible.cfg configuration file parameters detailed 301
Appendix B yaml and Jinjia 306
Appendix C Ansible Pull Mode 312
Appendix D SSH forward mode 316

Media Review

  Ansible is the most popular automated operation and maintenance tool in the industry today. Unlike DevOps tools such as puppet, Ansible's no-client deployment model greatly reduces the user threshold, and its excellent design without sacrificing the architectural advantages of piping orchestration. The content of this book is easy to understand, convenient for readers to master, and quickly applied to their own real environment. Along with the chapters of this book, readers can gradually grasp the large-scale environment of the automated operation and maintenance capabilities, truly become a devops surfers.
--Journal of Easy product director, former Weibo system architecture Shirachen Lynn
One of the authors of this book is enthusiastic about the operation and maintenance of the cause, is the early operation of the automation initiator, the elder brother Yun Technology, the regular attention accumulation, blog articles are widely circulated. has been looking forward to ansible related books, this book will become a classic in the field of operations.
--Sohu Social products Center Python service Head Zhang Bin
With the elder brother has long been acquainted with, for many years he has been focused on automated operation and maintenance of research, and long-term struggle in the domestic well-known internet companies, accumulated a wealth of experience. This book is a brother and a great effort, is also a domestic engineer to write the first ansible books, is full of thousands of goods, it is worth studying carefully.
--Xu Yuanzhen, senior information security engineer, Youku Tudou, Inc.


This article is from the "Old Wafangdian" blog, please be sure to keep this source http://laowafang.blog.51cto.com/251518/1774958

"Ansible Automation Operations: Technology and Best practices" books are on the shelves, welcome to read

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.