diff options
Diffstat (limited to 'inventory')
-rw-r--r-- | inventory/constructed.yml | 4 | ||||
-rw-r--r-- | inventory/hosts.ini | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/inventory/constructed.yml b/inventory/constructed.yml new file mode 100644 index 00000000..2a7a0fe1 --- /dev/null +++ b/inventory/constructed.yml @@ -0,0 +1,4 @@ +plugin: constructed +strict: True +compose: + host_name: "host_name | default(inventory_hostname)" diff --git a/inventory/hosts.ini b/inventory/hosts.ini index c26678b9..41a9b0b2 100644 --- a/inventory/hosts.ini +++ b/inventory/hosts.ini @@ -1,5 +1,4 @@ [all:vars] -host_name={{ inventory_hostname }} ansible_user=root ansible_port=222 ansible_python_interpreter=/usr/bin/python3 |