Add ini-suffix to inventory file to make the filetype clear
This change further changes the name of the only host in question form localhost to "127.0.0.1" to resolve the annoying warning about the duplicated declaration of "localhost" at the start of the execution of the playbook.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[defaults]
|
||||
nocows = True
|
||||
inventory = inventory
|
||||
inventory = inventory.ini
|
||||
become = True
|
||||
ask-become-pass = True
|
||||
display_skipped_hosts = False
|
||||
|
||||
2
inventory.ini
Normal file
2
inventory.ini
Normal file
@@ -0,0 +1,2 @@
|
||||
[localhost]
|
||||
127.0.0.1 ansible_connection=local
|
||||
Reference in New Issue
Block a user