使用者名稱和密碼的庫存

Inventory 是跟蹤基礎架構中所有系統的 Ansible 方式。這是一個簡單的庫存檔案,其中包含單個系統和 Ansible 的登入憑據。

[targethost]
192.168.1.1 ansible_user=mrtuovinen ansible_ssh_pass=PassW0rd