Use YAML for inventory

This commit is contained in:
Oliver Davies 2019-04-10 12:50:05 +01:00
parent 5565a973c7
commit bc669e82e0
3 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,4 @@
[defaults] [defaults]
inventory = ./inventory.yml
nocows = 1 nocows = 1
invalid_task_attribute_failed = False invalid_task_attribute_failed = False

View file

@ -1,2 +0,0 @@
[localhost]
127.0.0.1

4
inventory.yml Normal file
View file

@ -0,0 +1,4 @@
all:
hosts:
localhost:
ansible_connection: local