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:
2025-09-14 20:25:11 +02:00
parent b8e5743d1c
commit d1309f7aaf
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
[defaults]
nocows = True
inventory = inventory
inventory = inventory.ini
become = True
ask-become-pass = True
display_skipped_hosts = False

View File

@@ -1,2 +0,0 @@
[localhost]
localhost ansible_connection=local

2
inventory.ini Normal file
View File

@@ -0,0 +1,2 @@
[localhost]
127.0.0.1 ansible_connection=local