Book description
Run Ansible playbooks to launch complex multi-tier applications hosted in public clouds
About This Book- Build your learning curve using Ansible
- Automate cloud, network, and security infrastructures with ease
- Gain hands-on exposure on Ansible
Learn Ansible is perfect for system administrators and developers who want to take their current workflows and transform them into repeatable playbooks using Ansible. No prior knowledge of Ansible is required.
What You Will Learn- Write your own playbooks to configure servers running CentOS, Ubuntu, and Windows
- Identify repeatable tasks and write playbooks to automate them
- Define a highly available public cloud infrastructure in code, making it easy to distribute your infrastructure configuration
- Deploy and configure Ansible Tower and Ansible AWX
- Learn to use community contributed roles
- Use Ansible in your day-to-day role and projects
Ansible has grown from a small, open source orchestration tool to a full-blown orchestration and configuration management tool owned by Red Hat. Its powerful core modules cover a wide range of infrastructures, including on-premises systems and public clouds, operating systems, devices, and services—meaning it can be used to manage pretty much your entire end-to-end environment. Trends and surveys say that Ansible is the first choice of tool among system administrators as it is so easy to use.
This end-to-end, practical guide will take you on a learning curve from beginner to pro. You'll start by installing and configuring the Ansible to perform various automation tasks. Then, we'll dive deep into the various facets of infrastructure, such as cloud, compute and network infrastructure along with security.
By the end of this book, you'll have an end-to-end understanding of Ansible and how you can apply it to your own environments.
Style and approachA hands-on approach to give you practical experience of writing playbooks and roles and executing them. At the end of each chapter, you'll find test questions to test your knowledge on Ansible.
Publisher resources
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- An Introduction to Ansible
- Installing and Running Ansible
- The Ansible Commands
- Deploying a LAMP Stack
- Deploying WordPress
- Targeting Multiple Distributions
-
The Core Network Modules
- Technical requirements
-
Manufacturer and device support
-
The modules
- A10 Networks
- Cisco Application Centric Infrastructure (ACI)
- Cisco AireOS
- Apstra Operating System (AOS)
- Aruba Mobility Controller
- Cisco Adaptive Security Appliance (ASA)
- Avi Networks
- Big Switch Networks
- Citrix Netscaler
- Huawei CloudEngine (CE)
- Arista CloudVision (CV)
- Lenovo CNOS
- Cumulus Linux (CL)
- Dell operating system 10 (DellOS10)
- Ubiquiti EdgeOS
- Lenovo Enterprise Networking Operating System (ENOS)
- Arista EOS
- F5 BIG-IP
- FortiGate FortiManager
- FortiGate FortiOS
- illumos
- Cisco IOS and IOS XR
- Brocade IronWare
- Juniper Junos
- Nokia NetAct
- Pluribus Networks Netvisor OS
- Cisco Network Services Orchestrator (NSO)
- Nokia Nuage Networks Virtualized Services Platform (VSP)
- Cisco NX-OS (NXOS)
- Mellanox ONYX
- Ordnance
- Open vSwitch (OVS)
- Palo Alto Networks PAN-OS
- Radware
- Nokia Networks Service Router Operating System (SROS)
- VyOS
- System
-
The modules
- Interacting with a network device
- Summary
- Questions
- Further reading
- Moving to the Cloud
- Building Out a Cloud Network
- Highly Available Cloud Deployments
-
Building Out a VMware Deployment
- Technical requirements
- An introduction to VMware
-
The VMware modules
- Requirements
- vCloud Air
- VMware vSphere
- VMware vCentre
-
VMware ESXi
- The vmware_dns_config module
- The vmware_host_dns_facts module
- The vmware_host module
- The vmware_host_facts module
- The vmware_host_acceptance module
- The vmware_host_config_manager module
- The vmware_host_datastore module
- The vmware_host_firewall_manager module
- The vmware_host_firewall_facts module
- The vmware_host_lockdown module
- The vmware_host_ntp module
- The vmware_host_package_facts module
- The vmware_host_service_manager module
- The vmware_host_service_facts module
- The vmware_datastore_facts module
- The vmware_host_vmnic_facts module
- The vmware_local_role_manager module
- The vmware_local_user_manager module
- The vmware_cfg_backup module
- The vmware_vmkernel module
- The vmware_vmkernel_facts module
- The vmware_target_canonical_facts module
- The vmware_vmotion module
- The vmware_vsan_cluster module
- The vmware_vswitch module
- The vmware_drs_rule_facts module
- The vmware_dvswitch module
- The vmware_dvs_host module
- The vmware_dvs_portgroup module
- The vmware_maintenancemode module
- The vmware_portgroup module
- The vmware_resource_pool module
- An example playbook
- Summary
- Questions
- Further reading
- Ansible Windows Modules
- Hardening Your Servers Using Ansible and OpenSCAP
- Deploying WPScan and OWASP ZAP
- Introducing Ansible Tower and Ansible AWX
- Ansible Galaxy
- Next Steps with Ansible
-
Assessments
- Chapter 2, Installing and Running Ansible
- Chapter 3, The Ansible Commands
- Chapter 4, Deploying a LAMP Stack
- Chapter 5, Deploying WordPress
- Chapter 6, Targeting Multiple Distributions
- Chapter 7, The Core Network Modules
- Chapter 8, Moving to the Cloud
- Chapter 9, Building Out a Cloud Network
- Chapter 10, Highly Available Cloud Deployments
- Chapter 11, Building Out a VMware Deployment
- Chapter 12, Ansible Windows Modules
- Chapter 13, Hardening Your Servers Using Ansible and OpenSCAP
- Chapter 14, Deploying WPScan and OWASP ZAP
- Chapter 15, Introducing Ansible Tower and Ansible AWX
- Other Books You May Enjoy
Product information
- Title: Learn Ansible
- Author(s):
- Release date: June 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788998758
You might also like
book
DevOps in Python: Infrastructure as Python
Take advantage of Python to automate complex systems with readable code. This new edition will help …
book
Learning Go, 2nd Edition
Go has rapidly become the preferred language for building web services. Plenty of tutorials are available …
book
Exploring Expect
Expect is quickly becoming a part of every UNIX user's toolbox. It allows you to automate …
book
Learning Go
Go is rapidly becoming the preferred language for building web services. While there are plenty of …