Use YAML for inventory
This commit is contained in:
parent
5565a973c7
commit
bc669e82e0
3 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
[defaults]
|
[defaults]
|
||||||
|
inventory = ./inventory.yml
|
||||||
nocows = 1
|
nocows = 1
|
||||||
invalid_task_attribute_failed = False
|
invalid_task_attribute_failed = False
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[localhost]
|
|
||||||
127.0.0.1
|
|
4
inventory.yml
Normal file
4
inventory.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
all:
|
||||||
|
hosts:
|
||||||
|
localhost:
|
||||||
|
ansible_connection: local
|
Loading…
Add table
Add a link
Reference in a new issue