Add proxmox_vmid 110 to alpine-caddy inventory

This commit is contained in:
Semaphore
2026-03-11 11:31:23 -07:00
parent cccaec29ab
commit a88354149d
2 changed files with 9 additions and 8 deletions

View File

@@ -16,6 +16,7 @@ all:
ansible_user: root ansible_user: root
os_family: "alpine" os_family: "alpine"
human_estimate_seconds: 2700 human_estimate_seconds: 2700
proxmox_vmid: 110
windows_hosts: windows_hosts:
hosts: {} hosts: {}

View File

@@ -1,11 +1,10 @@
--- ---
# Detect hypervisor type from inventory var: hypervisor_type (proxmox or xcpng)
- name: Create pre-patch snapshot (Proxmox) - name: Create pre-patch snapshot (Proxmox)
community.general.proxmox_snap: community.general.proxmox_snap:
api_host: "{{ proxmox_api_host }}" api_host: "{{ PROXMOX_HOST }}"
api_user: "{{ proxmox_api_user }}" api_user: "{{ PROXMOX_TOKEN_ID | split("!") | first }}"
api_password: "{{ proxmox_api_password }}" api_token_id: "{{ PROXMOX_TOKEN_ID | split("!") | last }}"
api_token_secret: "{{ PROXMOX_TOKEN_SECRET }}"
vmid: "{{ proxmox_vmid }}" vmid: "{{ proxmox_vmid }}"
state: present state: present
snapname: "{{ snapshot_name_prefix }}-{{ ansible_date_time.date }}-{{ ansible_date_time.hour }}{{ ansible_date_time.minute }}" snapname: "{{ snapshot_name_prefix }}-{{ ansible_date_time.date }}-{{ ansible_date_time.hour }}{{ ansible_date_time.minute }}"
@@ -34,9 +33,10 @@
- name: Verify snapshot was created (Proxmox) - name: Verify snapshot was created (Proxmox)
community.general.proxmox_snap: community.general.proxmox_snap:
api_host: "{{ proxmox_api_host }}" api_host: "{{ PROXMOX_HOST }}"
api_user: "{{ proxmox_api_user }}" api_user: "{{ PROXMOX_TOKEN_ID | split("!") | first }}"
api_password: "{{ proxmox_api_password }}" api_token_id: "{{ PROXMOX_TOKEN_ID | split("!") | last }}"
api_token_secret: "{{ PROXMOX_TOKEN_SECRET }}"
vmid: "{{ proxmox_vmid }}" vmid: "{{ proxmox_vmid }}"
snapname: "{{ snapshot_id }}" snapname: "{{ snapshot_id }}"
state: present state: present