- Security Automation with Ansible 2
- Madhu Akula Akash Mahajan
- 224字
- 2021-07-02 21:59:52
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.
- PostgreSQL 11 Server Side Programming Quick Start Guide
- Java開發(fā)技術(shù)全程指南
- 模型制作
- 群體智能與數(shù)據(jù)挖掘
- JavaScript典型應(yīng)用與最佳實(shí)踐
- 數(shù)據(jù)庫系統(tǒng)原理及應(yīng)用教程(第5版)
- Android游戲開發(fā)案例與關(guān)鍵技術(shù)
- MATLAB/Simulink權(quán)威指南:開發(fā)環(huán)境、程序設(shè)計(jì)、系統(tǒng)仿真與案例實(shí)戰(zhàn)
- R Data Analysis Projects
- 人工智能技術(shù)入門
- 啊哈C!思考快你一步
- 嵌入式GUI開發(fā)設(shè)計(jì)
- Visual Studio 2010 (C#) Windows數(shù)據(jù)庫項(xiàng)目開發(fā)
- FANUC工業(yè)機(jī)器人配置與編程技術(shù)
- TensorFlow Deep Learning Projects