> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/andoid-shou-ji/untitled-4-1.md).

# Ansible

比Shell Script和Python還好用的**組態管理工具**

寫筆記不如寫工具，而且要寫可重複使用的工具。

### 基礎架構即程式碼:Infrastructure as Code

DevOps \[註]中用來快速部署 Server，實現 Infrastructure as Code 管控與設定 Server 的一套工具

### 使用Push架構，有SSH與Python即可，使用YAML設定檔

### Control Machine與Managed node

誰安裝Ansible？ 在一般的情況下，我們只需在Control Machine安裝Ansible即可，因為GNU/Linux和macOS的Managed node都早已預載了Python 2.5以上的版本，開通了SSH連線即可。

\[註]：DevOps（Development和Operations的組合詞）是一種重視「軟體開發人員（Dev）」和「IT運維技術人員（Ops）」之間溝通合作的文化、運動或慣例。透過自動化「軟體交付」和「架構變更」的流程，來使得構建、測試、發布軟體能夠更加地快捷、頻繁和可靠
