舉報

會員
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
推薦閱讀
- 電影中的精神病學
- 皮膚病中藥內(nèi)用制劑
- MR臨床手冊
- 口腔科常見及多發(fā)病就醫(yī)指南系列:口腔黏膜病就醫(yī)指南
- 角膜上皮細胞功能障礙診療圖解(眼表疾病臨床系列)
- 醫(yī)院消毒:消毒工作的重中之重
- 中華口腔醫(yī)學會團體標準(2017—2022年)
- CT診斷報告書寫技巧
- 中國口腔疾病經(jīng)濟負擔和預(yù)防策略經(jīng)濟學評價研究
- 腫瘤標志物
- 運動導致的骨骼肌細胞結(jié)構(gòu)損傷及其診斷
- 眼科疾病防治手冊
- 李傳課眼科診療心得集
- 晶狀體病影像學檢查及診斷
- HER2陽性乳腺癌
- 再見,霧霾
- 牛津通識讀本:癌癥(中文版)
- 腦微血管病變與藥物靶標研究新進展
- 大腦能量
- 喵星人都有阿斯伯格綜合征
- 口腔門診麻醉并發(fā)癥及處理
- 圖說災(zāi)難逃生自救叢書:泥石流
- 常見病中西醫(yī)結(jié)合診治
- 平衡心理治療
- 多發(fā)性骨髓瘤(第3版)
- 婦科腫瘤
- 案析鼻腔鼻竇腫瘤診治
- 進食障礙
- Learn Penetration Testing
- 現(xiàn)代皮膚科學