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

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

主站蜘蛛池模板: 西乌珠穆沁旗| 蕉岭县| 安远县| 屯门区| 扶余县| 双城市| 仙游县| 新邵县| 北川| 法库县| 盐池县| 崇阳县| 定陶县| 清徐县| 建德市| 绍兴县| 田东县| 安宁市| 新营市| 鄯善县| 昆山市| 玉门市| 宁化县| 余江县| 黄梅县| 吉安市| 封开县| 炉霍县| 沭阳县| 紫云| 广宁县| 法库县| 年辖:市辖区| 万山特区| 青川县| 台湾省| 集安市| 共和县| 枣庄市| 临夏县| 张家口市|