LitMy.ru - литература в один клик

Ansible by Examples: 200+ Automation Examples For Linux and Windows System Administrator and DevOps

  • Добавил: literator
  • Дата: 26-05-2025, 06:10
  • Комментариев: 0
Название: Ansible by Examples: 200+ Automation Examples For Linux and Windows System Administrator and DevOps
Автор: Luca Berton
Издательство: Leanpub
Год: 2024-01-29
Страниц: 1665
Язык: английский
Формат: epub (true)
Размер: 23.8 MB

Ansible is an Open Source IT automation tool. This book contains all of the obvious and not-so-obvious best practices of Ansible automation. Every successful IT department needs automation nowadays for bare metal servers, virtual machines, could, containers, and edge computing. Automate your IT journey with Ansible automation technology.

You are going to start with the installation of Ansible in Enterprise Linux, Community Linux, Windows, and macOS using the most command package manager and archives.

Each of the 200+ lessons summarizes a module: from the most important parameter to some Ansible code and real-life usage. Each code is battle proved in the real life. Simplifying mundane activities like creating a text file, extracting and archiving, fetching a repository using HTTPS or SSH connections could be automated with some lines of code and these are only some of the long lists included in the course.

There are some Ansible codes usable in all the Linux systems, some specific for RedHat-like, Debian-like, and Windows systems.

The 20+ Ansible troubleshooting lesson teaches you how to read the error message, how to reproduce, and the process of troubleshooting and resolution.

The four key tenets of Ansible are: declarative, agentless, idempotent, and community-driven. With “declarative” it means that you could use in a way very similar to a programming language to apply sequencing, selection, and iteration to the code flow. With “agentless” it means that you don’t need to install and update any agents on the target machine, it uses the SSH connection and Python interpreter. The language itself is “idempotent”, which means that the code will check a precise status on the managed machine. It means that for example the first time your code will change something, the following runs it only verifies that nothing changed and moves forward. The last tenet is “community-driven”, which means that there exists a public archive called “Ansible Galaxy” where you could download the code made by other open source contributors. This code is organized in roles and collections, but we’ll see it in the future. Ansible requires Python to be installed on all managing machines, including pip package manager along with configuration-management software and its dependent packages.

Now let’s talk about the six values of Ansible. The first is that it is “simple’’: the code is written in YAML language, which is a human-readable data serialization language. It is well known and easy to learn, it is commonly used for configuration files and in applications where data is being stored or transmitted. Ansible is Powerful, it is battle-tested as Configuration management, workflow orchestration, application deployment. The third value is “cross-platform” by nature, the Agentless support for all major Operating Systems, physical, virtual, cloud, and network providers. Another value of Ansible is that it works with existing tools, it is easy to homogenize the existing environment. The “batteries included” means that Ansible included bundled more than 750 modules to automate the most common tasks. The last value is that Ansible is “community-powered”, every month has more than 250000 downloads, an average of 3500 contributors, and more than 1200 users on IRC.

Are you ready to automate your day with Ansible?

Examples in the book are tested with the latest version of Ansible 2.9+ and Ansible Core 2.11+.

Скачать Ansible by Examples: 200+ Automation Examples For Linux and Windows System Administrator and DevOps












[related-news] [/related-news]
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.