官术网_书友最值得收藏!

  • 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.

主站蜘蛛池模板: 新兴县| 色达县| 玉屏| 乌什县| 迁西县| 定日县| 那坡县| 金溪县| 旌德县| 武川县| 新竹县| 伊金霍洛旗| 巴彦县| 阿克| 武夷山市| 平乐县| 连南| 武平县| 汕尾市| 土默特左旗| 普陀区| 龙口市| 惠水县| 阜平县| 怀宁县| 福清市| 泉州市| 永修县| 碌曲县| 辛集市| 凤城市| 通化县| 启东市| 望奎县| 陵川县| 徐水县| 当雄县| 县级市| 汨罗市| 五莲县| 寻乌县|