This is the code repository for Learn Ansible, published by Packt.
Automate cloud, security, and network infrastructure using Ansible 2.x
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 infrastructure, both on-premise 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 choice of tool among system administrators as it is so easy to use.
This book covers the following exciting features:
- Write your own playbooks to configure servers running CentOS, Ubuntu, and Windows Server
- See how to 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 alongside your own code
- Find out how to deploy and configure Ansible Tower and Ansible AWX
- Use community contributed roles and contribute your own roles
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
config.vm.provider "vmware_fusion" do |v|
v.vmx["memsize"] = "2024"
v.vmx["numvcpus"] = "2"
end
Following is what you need for this book: 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.
With the following software and hardware list you can run all code files present in the book (Chapter 1-17).
Chapter | Software required | OS required |
---|---|---|
2 onwards | VMWare Fusion Pro | macOS X 10.11 El Capitan and above |
2 onwards | Virtualbox | macOS X, Ubuntu Linux 17.04 |
2 onwards | Vagrant | macOS X, Ubuntu Linux 17.04 |
2 onwards | Vagrant VMware | macOS X 10.11 El Capitan and above |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Russ McKendrick Russ McKendrick is an experienced solution architect who has been working in IT and related industries for over 25 years. During his career, he has had varied responsibilities, from looking after an entire IT infrastructure to providing first-line, second-line, and senior support in both client-facing and internal teams for large organizations.
Russ supports open source systems and tools on public and private clouds at Node4 Limited, where he heads up the public cloud team.
Click here if you have any feedback or suggestions.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.