- Practical Ansible 2
- Daniel Oh James Freeman Fabio Alessandro Locati
- 186字
- 2021-06-24 16:06:50
Summary
Ansible is a very powerful and versatile automation engine that can be used for a wide variety of tasks. Understanding the basics of how to work it is of paramount importance, before addressing the more complex challenges of playbook creation and large-scale automation. Ansible relies on a language called YAML, a simple-to-read (and write) syntax that supports the rapid development of easy-to-read and easy-to-maintain code and inherits a number of valuable features from the Python language that it is written in, including Jinja2 filtering.
In this chapter, you learned the fundamentals of working with various Ansible programs. You then learned about the YAML syntax and the ways that you can break down your code into manageable chunks to make it easier to read and maintain. We explored the use of ad hoc commands in Ansible, variable definition and structure, and how to make use of Jinja2 filters to manipulate the data in your playbooks.
In the next chapter, we will take a more in-depth look at Ansible inventories and explore some of the more advanced concepts of working with them that you may find useful.
- Unreal Engine:Game Development from A to Z
- Big Data Analytics with Hadoop 3
- 大數(shù)據(jù)項(xiàng)目管理:從規(guī)劃到實(shí)現(xiàn)
- 計(jì)算機(jī)應(yīng)用
- 樂(lè)高機(jī)器人EV3設(shè)計(jì)指南:創(chuàng)造者的搭建邏輯
- Cloud Analytics with Microsoft Azure
- Mastering D3.js
- Hadoop Real-World Solutions Cookbook(Second Edition)
- 大學(xué)計(jì)算機(jī)應(yīng)用基礎(chǔ)
- 中國(guó)戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展:智能制造
- Implementing Oracle API Platform Cloud Service
- 工業(yè)機(jī)器人安裝與調(diào)試
- 空間機(jī)械臂建模、規(guī)劃與控制
- 在實(shí)戰(zhàn)中成長(zhǎng):C++開(kāi)發(fā)之路
- Linux Shell編程從初學(xué)到精通