change(inv): moves localhost to hosts.yaml, removes dedicated localhost.yaml

This commit is contained in:
2026-09-14 10:16:48 +04:00
parent 1d3bc59a8b
commit 8f4fee8b63
4 changed files with 13 additions and 13 deletions
+7
View File
@@ -1,7 +1,14 @@
--- ---
all: all:
children: children:
this_host:
hosts:
localhost:
ansible_become_password: "{{ ansible_become_passwd }}"
ansible_connection: local
ansible_python_interpreter: "{{ ansible_playbook_python }}"
physical: physical:
hosts:
proxmox_1: proxmox_1:
ansible_host: "{{ proxmox_1_host }}" ansible_host: "{{ proxmox_1_host }}"
ansible_become_password: "{{ ansible_become_passwd }}" ansible_become_password: "{{ ansible_become_passwd }}"
-7
View File
@@ -1,7 +0,0 @@
---
physical:
hosts:
localhost:
ansible_become_password: "{{ ansible_become_passwd }}"
ansible_connection: local
ansible_python_interpreter: "{{ ansible_playbook_python }}"
@@ -1,6 +1,6 @@
--- ---
- name: Deploy LXC - name: Deploy LXC
hosts: all hosts: localhost
remote_user: ansible remote_user: ansible
gather_facts: false gather_facts: false
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
- name: Deploy VM - name: Deploy VM
hosts: all hosts: localhost
remote_user: ansible remote_user: ansible
gather_facts: false gather_facts: false