FEATURE: adds proxmox host to inventory, but excludes it from playbooks/maintain.yaml

This commit is contained in:
2026-08-23 17:00:23 +05:00
parent 91d4dabea8
commit 54ec2bdbee
2 changed files with 39 additions and 32 deletions
+9 -2
View File
@@ -1,11 +1,18 @@
--- ---
physical: all:
physical:
proxmox-1:
ansible_host: 192.168.0.2
ansible_become_password: "{{ ansible_become_passwd }}"
services_to_run: []
virtual:
hosts: hosts:
localhost: localhost:
ansible_become_password: "{{ ansible_become_passwd }}" ansible_become_password: "{{ ansible_become_passwd }}"
ansible_connection: local ansible_connection: local
ansible_python_interpreter: "{{ ansible_playbook_python }}" ansible_python_interpreter: "{{ ansible_playbook_python }}"
services_to_run: [] services_to_run:
- webhook
nfs-server: nfs-server:
ansible_host: 192.168.0.6 ansible_host: 192.168.0.6
ansible_become_password: "{{ ansible_become_passwd }}" ansible_become_password: "{{ ansible_become_passwd }}"
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
- name: Deploy and set up an LXC container in Proxmox - name: Deploy and set up an LXC container in Proxmox
hosts: all hosts: virtual
remote_user: ansible remote_user: ansible
vars_files: vars_files: