Ansible 原生不支援拿 Windows 當作 Control Machine,不過我們可以透過 Docker 或 Vagrant 這類工具模擬 unix-like 的環境使用 Ansible。
我們雖能在 WSL 安裝 Ansible,並在很辛苦地微調後使用部份功能;但官方不建議。換句話說就是技術上可行,但官方不保證獲得完整的功能。
請參閱 Windows Frequently Asked Questions - Ansible Documentation
The Windows Subsystem for Linux is not supported by Ansible and should not be used for production systems.
可以的,我們可以使用 Ansible 和 WinRM 來管理 Windows 7, 8.1, 10 和 Windows Server 2008, 2008 R2, 2012, 2012 R2, 2016 等作業系統。
Copyleft © from 2018 Ansible Taiwan User Group CC BY-NC-SA 3.0 TW.