- Learning DevOps
- Mikael Krief
- 124字
- 2021-06-24 12:32:13
Protecting data with Ansible Vault
We have seen so far how to use Ansible with an inventory file that contains the list of hosts to configure, and with a playbook that contains the code of the host's configuration actions. But in all IaC tools, it will be necessary to extract some data that is specific to a context or environment inside variables.
In this section, we will look at how to use variables in Ansible and how to protect sensitive data with Ansible Vault.
To illustrate this use and protection of variables, we will complete our example with the installation of a MySQL server on the database server.
Let's begin by looking at the use and utility of variables in Ansible.
推薦閱讀
- 眼科急癥工作實用手冊
- 母嬰護理員(月嫂)
- 兒童青少年情緒障礙
- 權(quán)威專家解讀科學(xué)就醫(yī)系列:心腦血管疾病患者就醫(yī)指導(dǎo)
- Practical PowerShell Security and Compliance Center
- 特殊醫(yī)學(xué)用途配方食品臨床應(yīng)用
- 朱德生皮膚病學(xué)(第5版)
- 孤獨癥譜系障礙兒童家庭訓(xùn)練100問
- 放射診斷學(xué)讀片:北京協(xié)和醫(yī)院放射十年影像薈萃
- 學(xué)習(xí)睡覺
- 急危重癥容量管理
- 新型冠狀病毒感染臨床用藥手冊
- 結(jié)核病診斷與防治技術(shù)
- 顱腦7.0T磁共振成像診斷學(xué)
- 呼吸與危重癥醫(yī)學(xué)2014-2015