# 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）」之間溝通合作的文化、運動或慣例。透過自動化「軟體交付」和「架構變更」的流程，來使得構建、測試、發布軟體能夠更加地快捷、頻繁和可靠


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kawsing.gitbook.io/opensystem/andoid-shou-ji/untitled-4-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
