- Learning DevOps
- Mikael Krief
- 165字
- 2021-06-24 12:32:10
Ansible artifacts
To configure a system, Ansible needs several main artifacts:
- The hosts: These are target systems that Ansible will configure; the host can also be a local system.
- The inventory: This is a file in INI or YAML format that contains the list of target hosts on which Ansible will perform configuration actions. This inventory can also be a script, which is the case with a dynamic inventory.
We will see the implementation of the inventory next, in the Creating an inventory for targeting Ansible host section, and a dynamic inventory in the Using a dynamic inventory for Azure infrastructure section.
- The playbook: This is the Ansible configuration script that will be executed to configure hosts.
Writing playbooks will be seen in the Writing the first playbook section later in this chapter.
After seeing how to install Ansible, we have just gone through the essential elements of Ansible, which are hosts, inventory, and playbooks. We will now see how to configure Ansible.
推薦閱讀
- 腦血管病的防與治
- 心理腫瘤學:為癌癥患者及其家庭提供心理學支持
- 小兒便秘100問
- 甲狀腺疾病的核醫學診斷與治療
- 眼表活體共聚焦顯微鏡圖譜
- 顱內血管疾病超聲圖解100例
- 分數階微積分圖像修復模型在醫學CT圖像金屬偽影去除中的應用
- Practical PowerShell Security and Compliance Center
- Bioinformatics with R Cookbook
- 與癌共舞
- 復旦大學附屬華山醫院垂體疑難病多學科診治病例精選
- 骨骼肌靜力性負荷所致損傷機理的研究
- 身體關節功能篩查及糾正
- Mastering Blockchain Programming with Solidity
- 圖說災難逃生自救叢書:核與輻射事故