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

Summary

We have codified a fairly decent real-world stack for development using a combination of Ansible's features. By thinking about what goes in a LAMP stack overview, we can start by creating the roles. Once we have that thrashed out, the inpidual tasks are mapped to modules in Ansible. Any task that requires copying of a pre-defined configuration, but with dynamically-generated output, can be done by using variables in our templates and the constructs offered by Jinja2. 

We will use the same approach to various security-related setups that could do with a bit of automation for orchestration, operations, and so on. Once we have a handle on how to do this for a virtual machine running our laptop, it can be repurposed for deploying on your favorite cloud-computing instance as well. The output is human readable and in text, so that it can be added to version control, various roles can be reused as well.  

Now that we have a fairly decent idea of the terms we will be using throughout this book, let's get set for one final piece of the puzzle. In the next chapter, we will learn and understand how we can use automation and scheduling tools, such as Ansible Tower, Jenkins, and Rundeck, to manage and execute playbooks based on certain event triggers or time durations. 

主站蜘蛛池模板: 澄迈县| 德安县| 九龙坡区| 静宁县| 高陵县| 龙州县| 江永县| 霍山县| 沐川县| 霞浦县| 台东县| 永登县| 隆子县| 濮阳市| 长治市| 鸡泽县| 沐川县| 留坝县| 隆德县| 阳原县| 鹤峰县| 中江县| 新乐市| 出国| 绥宁县| 云浮市| 温宿县| 广平县| 涿州市| 陵川县| 故城县| 垣曲县| 岳普湖县| 屏南县| 闸北区| 府谷县| 色达县| 五原县| 蓝山县| 出国| 中山市|