舉報

會員
Learning Ansible 2.7(Third Edition)
Ansibleisanopensourceautomationplatformthatassistsorganizationswithtaskssuchasapplicationdeployment,orchestration,andtaskautomation.WiththereleaseofAnsible2.7,evencomplextaskscanbehandledmuchmoreeasilythanbefore.LearningAnsible2.7willhelpyoutakeyourfirststepstowardunderstandingthefundamentalsandpracticalaspectsofAnsiblebyintroducingyoutotopicssuchasplaybooks,modules,andtheinstallationofLinux,BerkeleySoftwareDistribution(BSD),andWindowssupport.Inadditiontothis,youwillfocusonvarioustestingstrategies,deployment,andorchestrationtobuildonyourknowledge.Thebookwillthenhelpyougetaccustomedtofeaturesincludingcleanerarchitecture,taskblocks,andplaybookparsing,whichcanhelpyoutostreamlineautomationprocesses.Next,youwilllearnhowtointegrateAnsiblewithcloudplatformssuchasAmazonWebServices(AWS)beforegaininginsightsintotheenterpriseversionsofAnsible,AnsibleTowerandAnsibleGalaxy.ThiswillhelpyoutouseAnsibletointeractwithdifferentoperatingsystemsandimproveyourworkingefficiency.Bytheendofthisbook,youwillbeequippedwiththeAnsibleskillsyouneedtoautomatecomplextasksforyourorganization.
目錄(226章)
倒序
- coverpage
- Title Page
- Copyright and Credits
- Learning Ansible 2.7 Third Edition
- About Packt
- Why subscribe?
- Packt.com
- Contributors
- About the author
- About the reviewer
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Conventions used
- Get in touch
- Reviews
- Section 1: Creating a Web Server Using Ansible
- Getting Started with Ansible
- Technical requirements
- IT automation
- Advantages of IT automation
- Disadvantages of IT automation
- Types of IT automation
- Agent-based systems
- Agent-less systems
- Agent-based versus agent-less systems
- What is Ansible?
- Secure Shell
- Why Ansible?
- Installing Ansible
- Installing Ansible using the system's package manager
- Installing via Yum
- Installing via Apt
- Installing via Homebrew
- Installing via pip
- Installing Ansible from source
- Creating a test environment with Vagrant
- Version control systems
- Using Ansible with Git
- Summary
- Automating Simple Tasks
- Technical Requirement
- YAML
- Hello Ansible
- Working with playbooks
- Studying the anatomy of a playbook
- Running a playbook
- Ansible verbosity
- Variables in playbooks
- Creating the Ansible user
- Configuring a basic server
- Enabling EPEL
- Installing Python bindings for SELinux
- Upgrading all installed packages
- Ensuring that NTP is installed configured and running
- Ensuring that FirewallD is present and enabled
- Adding a customized MOTD
- Changing the hostname
- Reviewing and running the playbook
- Installing and configuring a web server
- Publishing a website
- Jinja2 templates
- Variables
- Filters
- Conditionals
- Cycles
- Summary
- Section 2: Deploying Playbooks in a Production Environment
- Scaling to Multiple Hosts
- Technical requirements
- Working with inventory files
- The basic inventory file
- Groups in an inventory file
- Regular expressions in the inventory file
- Working with variables
- Host variables
- Group variables
- Variable files
- Overriding configuration parameters with an inventory file
- Working with dynamic inventories
- Amazon Web Services
- DigitalOcean
- Working with iterates in Ansible
- Using standard iteration – with_items
- Using nested loops – with_nested
- Fileglobs loop – with_fileglobs
- Using an integer loop – with_sequence
- Summary
- Handling Complex Deployment
- Technical requirements
- Working with the local_action feature
- Delegating a task
- Working with conditionals
- Boolean conditionals
- Checking whether a variable is set
- Working with include
- Working with handlers
- Working with roles
- Organizing a project
- Anatomy of a role
- Transforming your playbooks in a full Ansible project
- Transforming a playbook into a role
- Helper files
- Transforming the webserver role
- Handlers in roles
- Execution strategies
- The Ansible template – Jinja filters
- Formatting data using filters
- Defaulting undefined variables
- Security management
- Using Ansible Vault
- Vaults and playbooks
- Encrypting user passwords
- Hiding passwords
- Using no_log
- Summary
- Going Cloud
- Technical requirements
- Provisioning resources in the cloud
- Provisioning machines in AWS
- AWS global infrastructure
- AWS Simple Storage Service
- AWS Elastic Compute Cloud
- AWS Virtual Private Cloud
- AWS Route 53
- AWS Elastic Block Storage
- AWS Identity and Access Management
- Amazon Relational Database Service
- Setting up an account with AWS
- Simple AWS deployment
- Complex AWS deployment
- Provisioning machines in DigitalOcean
- Droplets
- SSH key management
- Private networking
- Adding an SSH key in DigitalOcean
- Deployment in DigitalOcean
- Provisioning machines in Azure
- Summary
- Getting Notification from Ansible
- Technical requirements
- Sending emails with Ansible
- XMPP
- Slack
- Rocket Chat
- Internet Relay Chat
- Amazon Simple Notification Service
- Nagios
- Summary
- Section 3: Deploying an Application with Ansible
- Creating a Custom Module
- Prerequisite
- Using Python to write modules
- Working with exit_json and fail_json
- Testing Python modules
- Using bash modules
- Using Ruby modules
- Testing modules
- Summary
- Debugging and Error Handling
- Technical requirements
- Syntax checking
- The check mode
- Indicating differences between files using --diff
- Functional testing in Ansible
- Functional testing using assert
- Testing with tags
- Understanding the --skip-tags option
- Understanding debugging commands
- Managing exceptions
- Trigger failure
- Summary
- Complex Environments
- Technical requirements
- Code based on the Git branch
- A single stable branch with multiple folders
- Software distribution strategy
- Copying files from the local machine
- Revision control system with branches
- Revision control system with tags
- RPM packages
- Preparing the environment
- Deploying a web app with a revision control system
- Deploying a web app with RPM packages
- Creating a SPEC file
- Building RPMs manually
- Building RPMs with Ansible
- Building RPMs with CI/CD pipelines
- Building compiled software with RPM packaging
- Deployment strategies
- Canary deployment
- Blue/green deployment
- Optimizations
- Pipelining
- Optimizing with_items
- Understanding what happens when your tasks are executed
- Summary
- Section 4: Deploying an Application with Ansible
- Introducing Ansible for Enterprises
- Technical requirements
- Ansible on Windows
- Ansible Galaxy
- Pushing a role to Ansible Galaxy
- Ansible Tower and AWX
- Summary
- Getting Started with AWX
- Technical requirements
- Setting up AWX
- Installing Ansible Docker and Docker-py in Fedora
- Giving the current user permission to use Docker in Fedora
- Installing AWX
- Creating new AWX projects
- Using AWX inventories
- Understanding AWX job templates
- Using AWX jobs
- Summary
- Working with AWX Users Permissions and Organizations
- Technical requirements
- AWX users and permissions
- AWX organizations
- Summary
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時間:2021-06-24 15:09:17
推薦閱讀
- 電影中的精神病學
- 癌癥療愈錄:腫瘤門診敘事紀實
- 眼睛健康,自己查(第二版)
- 國家兒童腫瘤監(jiān)測年報(2022)
- 乳腺、甲狀腺介入性超聲學
- 你的第一本抑郁自救指南
- 膜性概念神經外科學
- 中國臨床腫瘤學會(CSCO)常見惡性腫瘤診療指南2021:上冊
- 佛山市順德區(qū)自閉癥兒童情況調研課題
- 臨床麻醉難點解析(第2版)
- 腎移植
- 麻醉安全與質量管理
- Learn Data Structures and Algorithms with Golang
- 帕金森病中西醫(yī)結合診療與康復
- 向陽而生:柱子哥的抗癌指南
- 重癥肺病名醫(yī)學術經驗傳承與實踐
- 實用牙體牙髓病治療學
- 失眠的心理學干預
- Hands-On Test Management with Jira
- 實用運動醫(yī)務監(jiān)督
- 精神疾病案例診療思路(第3版)
- 連續(xù)性腎臟替代治療
- 新編腫瘤微創(chuàng)治療與護理
- 臨床麻醉學病例解析
- 在抑郁打敗你之前戰(zhàn)勝它
- 她說+深呼吸+癌癥·新知+癌癥·真相(套裝共4冊)
- 喳星人都有焦慮癥
- 重粒子線癌癥治療:無需開刀的療法
- 視盤病變(第2版)
- 她說+癌癥·新知+癌癥·真相(套裝共3冊)