mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-21 14:58:02 +01:00
move to yaml inventory
This commit is contained in:
parent
813aa28dd1
commit
2c9cfa104d
3 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
|||
[env]
|
||||
ANSIBLE_INVENTORY = "{{config_root}}/inventory.ini"
|
||||
ANSIBLE_INVENTORY = "{{config_root}}/inventory.yaml"
|
||||
ANSIBLE_VAULT_PASSWORD_FILE = "{{config_root}}/vault.pass"
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[servers]
|
||||
ubuntu ansible_host=192.168.0.6 ansible_python_interpreter=auto_silent
|
6
inventory.yaml
Normal file
6
inventory.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
servers:
|
||||
hosts:
|
||||
ubuntu:
|
||||
ansible_host: 192.168.0.6
|
||||
ansible_python_interpreter: auto_silent
|
Loading…
Reference in a new issue