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
+11 -4
View File
@@ -1,11 +1,18 @@
---
all:
children:
this_host:
hosts:
localhost:
ansible_become_password: "{{ ansible_become_passwd }}"
ansible_connection: local
ansible_python_interpreter: "{{ ansible_playbook_python }}"
physical:
proxmox_1:
ansible_host: "{{ proxmox_1_host }}"
ansible_become_password: "{{ ansible_become_passwd }}"
services_to_run: []
hosts:
proxmox_1:
ansible_host: "{{ proxmox_1_host }}"
ansible_become_password: "{{ ansible_become_passwd }}"
services_to_run: []
virtual:
hosts:
localhost:
-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
hosts: all
hosts: localhost
remote_user: ansible
gather_facts: false
+1 -1
View File
@@ -1,6 +1,6 @@
---
- name: Deploy VM
hosts: all
hosts: localhost
remote_user: ansible
gather_facts: false