By Jeff Geerling
Covers Ansible 2.0!
Ansible is an easy, yet strong, server and configuration administration instrument (with a couple of different methods up its sleeve). This booklet is helping these accustomed to the command line and easy shell scripting begin utilizing Ansible to provision and deal with at any place from one to millions of servers.
The e-book starts with basics, like fitting Ansible, constructing a easy stock dossier, and simple techniques, then courses you thru Ansible's many makes use of, together with ad-hoc instructions, easy and complex playbooks, software deployments, multiple-provider server provisioning, or even Docker orchestration! every thing is defined with pertinent real-world examples, frequently utilizing Vagrant-managed digital machines.
Read or Download Ansible for DevOps: Server and configuration management for humans PDF
Similar linux books
Libraries powerful in Linux functions who cater to complex programmers desire FEDORA 7 UNLEASHED: it packs in a finished assurance of Fedora 7, offering info on fitting, utilizing and administering Fedora and displaying the best way to tackle a number productiveness and setup matters. this is often no gentle creation: chapters delve into operating with Python, writing shell scripts, coping with DNS and lots more and plenty extra - the entire functions and exercises the intense Linux engineer wishes.
Shrewdpermanent domestic Automation with Linux: easy methods to attach your place out of your laptop is written for Linux pros who might automate a house utilizing Linux. automated comprises analyzing television schedules digitally and utilizing them to application a video remotely via e mail or the internet, and streaming tune among assorted machines.
Greater than 1 / 4 of 1000000 copies offered in earlier variations! Freedom is a characteristic With Fedora's new on-line laptop, you're unfastened to form your laptop surroundings to incorporate the prone, functions, and on-line associates you want. As continuously, Fedora's overall commitment to freedom helps you to draw on hundreds of thousands of loose software program applications to create the precise laptop or server desktop you would like.
- Linux Desktop Hacks
- Linux for Embedded and Real-time Applications
- Understanding the Linux Kernel
- CFEngine 3 Beginner's Guide
- Linux Shell Scripting with Bash (Developer's Library)
- Performance Tuning for Linux Servers
Additional resources for Ansible for DevOps: Server and configuration management for humans
If you often find yourself running commands on the same set of servers using --limit, consider instead adding them to a group in your inventory file. That way you can enter ansible [my-new-group-name] [command], and save yourself a few keystrokes. Manage users and groups One of the most common uses for Ansible’s ad-hoc commands in my day-to-day usage is user and group management. I don’t know how many times I’ve had to reread the man pages or do a Google search just to remember which arguments I need to create a user with or without a home folder, add the user to certain groups, etc.
The past decade has seen the growth of many virtualization tools that allow for flexible and very powerful infrastructure emulation, all from your local workstation! 9 Chapter 2 - Local Infrastructure Development: Ansible and Vagrant 10 It’s empowering to be able to play around with a config file, or to tweak the order of a server update to perfection, over and over again, with no fear of breaking an important server. If you use a local virtual machine, there’s no downtime for a server rebuild; just re-run the provisioning on a new VM, and you’re back up and running in minutes—with no one the wiser.
Nearly all of these tasks can be (and usually are) at least partially automated—but some often need a human touch, especially when it comes to diagnosing issues in 17 Chapter 3 - Ad-Hoc Commands 18 real time. And in today’s complex multi-server environments, logging into servers individually is not a workable solution. Ansible allows admins to run ad-hoc commands on one or hundreds of machines at the same time, using the ansible command. In Chapter 1, we ran a couple of commands (ping and free -m) on a server that we added to our Ansible inventory file.
Ansible for DevOps: Server and configuration management for humans by Jeff Geerling