ODJ comptage en live
This commit is contained in:
parent
4adff7864c
commit
08e645699c
|
@ -0,0 +1,4 @@
|
|||
all:
|
||||
hosts:
|
||||
proxmox:
|
||||
ansible_host: proxmox.coussinet.org
|
|
@ -0,0 +1,20 @@
|
|||
- name: Connexion à un hôte Proxmox
|
||||
hosts: proxmox
|
||||
tasks:
|
||||
- name: Connect to Proxmox Host
|
||||
proxmox_kvm:
|
||||
host: proxmox.coussinet.org
|
||||
user: username
|
||||
password: password
|
||||
register: proxmox_connection
|
||||
|
||||
- name: Check if Git is installed
|
||||
command: pveversion --version
|
||||
register: git_version
|
||||
failed_when: false
|
||||
|
||||
- name: Show Git Version
|
||||
debug:
|
||||
msg: "Git Version: {{ git_version.stdout }}"
|
||||
vars:
|
||||
git_version: "{{ git_version.stdout }}"
|
Loading…
Reference in New Issue