Book description
Configure Ansible and start coding YAML playbooks using the appropriate modules
Key Features
- Create and use Ansible Playbook to script and organise management tasks
- Benefit from the Ansible community roles and modules to resolve complex and niche tasks
- Write configuration management code to automate infrastructure
Book Description
Configuration Management (CM) tools help administrators reduce their workload. Ansible is one of the best Configuration Management tools, and can act as an orchestrator for managing other CMs. This book is the easiest way to learn how to use Ansible as an orchestrator and a Configuration Management tool. With this book, you will learn how to control and monitor computer and network infrastructures of any size,physical or virtual.
You will begin by learning about the Ansible client-server architecture. To get started, you will set up and configure an Ansible server. You will then go through the major features of Ansible: Playbook and Inventory. Then, we will look at Ansible systems and network modules.
You will then use Ansible to enable infrastructure automated configuration management, followed by best practices for using Ansible roles and community modules.
Finally, you will explore Ansible features such as Ansible Vault, Ansible Containers, and Ansible plugins.
What you will learn
- Implement Playbook YAML scripts and its capacities to simplify day-to-day tasks
- Setup Static and Dynamic Inventory
- Use Ansible predefined modules for Linux, Windows, networking, and virtualisation administration
- Organize and configure the host filesystem using storage and files modules
- Implement Ansible to enable infrastructure automated configuration management
- Simplify infrastructure administration
- Search and install new roles and enable them within Ansible
- Secure your data using Ansible Vault
Who this book is for
This book is targeted at System Administrators and Network Administrators who want to use Ansible to automate an infrastructure. No knowledge of Ansible is required.
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- What is Ansible?
- Ansible Setup and Configuration
- Ansible Inventory and Playbook
-
Ansible Modules
- Ansible modules overview
- Ad hoc versus playbook: the ping module
- Ad hoc versus playbook: the win_reboot module
- ad-hoc versus playbook: the copy module
- Ansible module return values
-
Ansible Linux modules
-
Linux system modules
- The user management module
- The group management module
- The hostname module
- The sysctl control module
- The service management module
- The systemd module
- The kernel blacklist management module
- The cron job editing module
- The SSH authorized keys management module
- The Git usage module
- The SELinux control module
- Linux commands modules
- Linux package modules
- Linux file modules
- Linux networking modules
- Linux storage modules
-
Linux system modules
- Ansible Windows modules
- Ansible network modules
- Ansible cloud modules
- Summary
- References
- Ansible Automated Infrastructure
- Ansible Coding for Configuration Management
- Ansible Galaxy and Community Roles
- Ansible Advanced Features
- Other Books You May Enjoy
Product information
- Title: Ansible Quick Start Guide
- Author(s):
- Release date: September 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789532937
You might also like
book
Ansible: Up and Running
Among the many configuration management tools available, Ansible has some distinct advantages—it’s minimal in nature, you …
video
Hands-on Ansible
3+ Hours of Video Instruction Hands-on Ansible LiveLessons is focused on hands-on training by providing the …
video
Ansible Fundamentals LiveLessons
4 Hours of Video Instruction 4 hours of video to get you started using Ansible, focusing …
book
Learn Ansible
Run Ansible playbooks to launch complex multi-tier applications hosted in public clouds Key Features Build your …