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: all:
children: children:
this_host:
hosts:
localhost:
ansible_become_password: "{{ ansible_become_passwd }}"
ansible_connection: local
ansible_python_interpreter: "{{ ansible_playbook_python }}"
physical: physical:
proxmox_1: hosts:
ansible_host: "{{ proxmox_1_host }}" proxmox_1:
ansible_become_password: "{{ ansible_become_passwd }}" ansible_host: "{{ proxmox_1_host }}"
services_to_run: [] ansible_become_password: "{{ ansible_become_passwd }}"
services_to_run: []
virtual: virtual:
hosts: hosts:
localhost: 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 - 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