tosin2013.rhel7_kvm_cloud_init

déployer-kvm-vm

Ce rôle déploie une instance KVM Libvirt à partir d'une image qcow.

Déploiements testés :

  • Red Hat Enterprise Linux 7/8
  • Fedora 32

Exigences

  • Les paquets kvm doivent être installés.

Variables de rôle

Veuillez consulter defaults/main.yml.

Dépendances

N/A

Exemples de Playbooks

Déployer Fedora

- nom : VM Fedora
  hôtes : localhost
  devenir : oui

  vars:
    nom_vm : "fedora32"
    cpu_vm : 2moire_vm : 2048
    taille_disque_racine_vm : 20montage_vm : non
    image_qcow_vm : Fedora-Cloud-Base-32-1.6.x86_64.qcow2
    utilisateur_admin : changeme
    mot_de_passe_utilisateur_admin : changeme
    mot_de_passe_racine_vm_kvm : changeme
    version_os : fedora31
    

  tâches:
    - nom : déployer un nœud kvm
      inclure_rôle:
        nom : déployer-kvm-vm

Déployer RHEL 8

- nom : Déployer VM RHEL 8.3 Beta
  hôtes : localhost
  devenir : oui

  vars:
    nom_vm : "rhel83-beta"
    cpu_vm : 2moire_vm : 2048
    taille_disque_racine_vm : 20montage_vm : non
    image_qcow_vm : rhel-8.3-beta-1-x86_64-kvm.qcow2
    utilisateur_admin : changeme
    mot_de_passe_utilisateur_admin : changeme
    mot_de_passe_racine_vm_kvm : changeme
    version_os : rhel8.2
    clé_activation_rhsm : rhel-server
    org_rhsm : 1234565ches:
    - nom : déployer un nœud kvm
      inclure_rôle:
        nom : déployer-kvm-vm

Licence

GPLv3

Informations sur l'auteur

Ce rôle a été créé en 2019 par Tosin Akinosho

À propos du projet

Deploy a Red Hat Linux 7.x

Installer
ansible-galaxy install tosin2013.rhel7_kvm_cloud_init
Licence
Unknown
Téléchargements
72
Propriétaire
Associate Principal Solution Architect RedHat. Enthusiast in Cloud, DevOps, and AI. Specializing in AWS, GCP, Azure, Docker, Kubernetes, and Terraform.