Download e-book for iPad: Ansible for DevOps: Server and configuration management for by Jeff Geerling

By Jeff Geerling

ISBN-10: 098639341X

ISBN-13: 9780986393419

Covers Ansible 2.0!

Ansible is an easy, yet robust, server and configuration administration instrument (with a number of different methods up its sleeve). This e-book is helping these acquainted with the command line and simple shell scripting commence utilizing Ansible to provision and deal with at any place from one to hundreds of thousands of servers.

The booklet starts off with basics, like fitting Ansible, developing a easy stock dossier, and simple recommendations, then courses you thru Ansible's many makes use of, together with ad-hoc instructions, uncomplicated and complex playbooks, software deployments, multiple-provider server provisioning, or even Docker orchestration! every thing is defined with pertinent real-world examples, usually utilizing Vagrant-managed digital machines.

Show description

Read Online or Download Ansible for DevOps: Server and configuration management for humans PDF

Similar linux books

Get Linux Cookbook PDF

This designated and invaluable number of assistance, instruments, and scripts offers transparent, concise, hands-on ideas that may be utilized to the demanding situations dealing with somebody working a community of Linux servers from small networks to massive information facilities within the functional and renowned problem-solution-discussion O'Reilly cookbook format.

The Linux Cookbook covers every thing you'd count on: backups, new clients, etc. however it additionally covers the non-obvious info that's usually neglected in different books the time-sinks and complications which are a true a part of an administrator's task, corresponding to: facing peculiar forms of units that Linux traditionally hasn't supported good, development multi-boot platforms, and dealing with such things as video and audio.

The wisdom had to set up, set up, and hold Linux isn't really simply chanced on, and no Linux distribution will get it wonderful. Scattered details are available in a pile of guy pages, texinfo records, and resource code reviews, however the most sensible resource of knowledge is the specialists themselves who outfitted up a operating wisdom of handling Linux structures. This cookbook's confirmed options distill years of hard-won adventure into useful cut-and-paste ideas to daily Linux dilemmas.

Use only one recipe from this diverse choice of real-world recommendations, and the hours of tedious trial-and-error kept will greater than pay for the price of the e-book. yet those that wish to research hands-on will locate that this cookbook not just solves quick difficulties quick, it additionally cuts correct to the chase declaring power pitfalls and illustrating proven practices that may be utilized to a myriad of alternative events.

Whether you're accountable for a small Linux method, an important company approach, or a combined Linux/Windows/MacOS community, you'll locate important, to-the-point, sensible recipes for facing Linux structures daily. The Linux Cookbook is greater than a time-saver; it's a sanity saver.

Read e-book online Fedora Unleashed, 2008 Edition (8th Edition) PDF

Fedora Unleashed, 2008 variation offers entire insurance of Fedora eight, the preferred Linux distribution constructed by way of the pink Hat-sponsored Fedora undertaking. This e-book offers distinct info on fitting, utilizing, and administering Fedora. You’ll organize a computer laptop or a high-powered server, and you’ll locate entire information on Yum, Fedora’s easy-to-use computing device and productiveness software program.

New PDF release: Linux® Programming Bible

This consultant introduces programmers to the Linux Shell and its instruments, and information tips on how to use C and Perl particularly for the Linux setting. It assumes the reader has uncomplicated programming talents because it info the inner beneficial properties of the Linux surroundings and describes community programming.

Keir Davis, John W. Turner, Nathan Yocum's The Definitive Guide to Linux Network Programming PDF

Apress' The Definitive advisor to Linux community Programming is a transparent, concise remedy of making consumers and servers below the Linux working approach. The ebook assumes that the reader understands C and has adventure constructing code on Linux, yet presents every thing else a programmer wishes for real-world community programming, together with layout, implementation, debugging, and safety.

Extra info for Ansible for DevOps: Server and configuration management for humans

Example text

Provisioning⁴⁶: When running vagrant up the first time, Vagrant automatically provisions the newly-minted VM using whatever provisioner you have configured in the Vagrantfile. You can also run vagrant provision after the VM has been created to explicitly run the provisioner again. It’s this last feature that is most important for us. Ansible is one of many provisioners integrated with Vagrant (others include basic shell scripts, Chef, Docker, Puppet, and Salt). When you call vagrant provision (or vagrant up) the first time, Vagrant passes off the VM to Ansible, and tells Ansible to run a defined Ansible playbook.

Chapter 3 - Ad-Hoc Commands 30 Configure the Database servers We configured the application servers using the app group defined in Ansible’s main inventory, and we can configure the database server (currently the only server in the db group) using the similarly-defined db group. Let’s install MariaDB, start it, and configure the server’s firewall to allow access on MariaDB’s default port, 3306. 0/24 -p tcp \ -m tcp --dport 3306 -j ACCEPT" If you try connecting to the database from the app servers (or your host machine) at this point, you won’t be able to connect, since MariaDB still needs to be set up.

It’s this last feature that is most important for us. Ansible is one of many provisioners integrated with Vagrant (others include basic shell scripts, Chef, Docker, Puppet, and Salt). When you call vagrant provision (or vagrant up) the first time, Vagrant passes off the VM to Ansible, and tells Ansible to run a defined Ansible playbook. We’ll get into the details of Ansible playbooks later, but for now, we’re going to edit our Vagrantfile to use Ansible to provision our virtual machine. Open the Vagrantfile that was created when we used the vagrant init command earlier.

Download PDF sample

Ansible for DevOps: Server and configuration management for humans by Jeff Geerling


by Paul
4.3

Rated 4.05 of 5 – based on 36 votes