scripts/ansible/riseup.yml

20 lines
523 B
YAML

- 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 }}"