Skip to content

Roles to deploy a demo infrastructure based on Red Hat Enterprise Linux, IDM and Red Hat Satellite

Notifications You must be signed in to change notification settings

WilliamHJKL/democloudlaptop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEMO CLOUD LAPTOP

The goal of this roles is to deploy a demo plateform on a laptop. For the momemt it deploy network, storage and one vm. You need a ftp server running on your laptop, this ftp server need to share a RHEL7.3 iso.

Configure variables in group_vars/all or in roles/name/vars/main.yml.

Run as a user the following command (the user need to have correct authorization in sudo). :


  ansible-playbook -k --ask-become-pass -i inventory site.yml  --extra-vars "rhn_activationkey=putyouractivationkeyhere rhn_orgid=andyourorgid"

The logic behind these playbooks is:

roles/deploy-infra:

  • configure nested virtualization.

  • install packages for virtualization.

  • create networks:

    • one external network.
    • one internal network.
  • configure storage pool.

roles/deploy-vms:

  • deploy a number of vms.

roles/common:

  • configure system's fqdn.
  • register system's in RHN.
  • deactivate ipv6
  • configure a minimal firewall.
  • configure minimal repositories.

roles/configure-idm

  • configure idm.

roles/configure-host

  • a quick and dirty hack to get dns resolution working from kvm host.

roles/cleanup

  • the beginning of a cleanup playbooks, once writen it will desinstalle everything ...

LATER

Wait for ansible/ansible-modules-extras#3247

About

Roles to deploy a demo infrastructure based on Red Hat Enterprise Linux, IDM and Red Hat Satellite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published