Skip to content

Ansible playbooks for Red Hat CloudForms Management Engine (CFME).

License

Notifications You must be signed in to change notification settings

A-Beck/ansible-redhat_cloudforms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-redhat_cloudforms

Ansible playbooks for Red Hat CloudForms Management Engine (CFME).

Playbooks

Playbooks provided by this project.

migrate-5-7-to-5-8.yml

Performs a migration from CFME 5.7 to 5.8 utilizing steps from Migrating to Red Hat CloudForms 4.5. This playbook does not currently perform a backup, resize the disks or handle database replication scenarios.

Assumptions

  • Appliances have already been backed up per General Configuration Section 4.4.5.1.
  • Disks have already been resized.
  • Environments are not utilizing database replication.
  • Appliances have had memory increased to 12Gb for CloudForms 4.5 and newer appliances per requirement.

Required groups

  • cfme
  • cfme-appliancees
  • cfme-databases

Options

parameter required default choices comments
cfme_addiitonal_repositories No Additional repositories to configure when performing the migration
sat6_org_id No Satellite 6 organization ID (when using activation key below)
sat6_activation_key No Satellite 6 activation key (instead of direct subscribe to repos)

migrate-5-8-to-5-9.yml

Performs a migration from CFME 5.8 to 5.9 utilizing steps from Migrating to Red Hat CloudForms 4.6. This playbook does not currently perform a backup, resize the disks or handle database replication scenarios.

Assumptions

  • Appliances have already been backed up per General Configuration Section 4.4.5.1.
  • Disks have already been resized. (Only necessary if migrating from CFME 5.8.0.17 or earlier)
  • Environments are not utilizing database replication.

Required groups

  • cfme
  • cfme-appliancees
  • cfme-databases

Options

parameter required default choices comments
cfme_addiitonal_repositories No Additional repositories to configure when performing the migration
sat6_org_id No Satellite 6 organization ID (when using activation key below)
sat6_activation_key No Satellite 6 activation key (instead of direct subscribe to repos)

rolling-update.yml

Performs an update/upgrade of all packages on the CFME appliances and performs a reboot if necessary.

Required groups

  • cfme
  • cfme-appliancees
  • cfme-databases

Options

parameter required default choices comments
cfme_addiitonal_repositories No Additional repositories to configure when performing the update
sat6_org_id No Satellite 6 organization ID (when using activation key below)
sat6_activation_key No Satellite 6 activation key (instead of direct subscribe to repos)

smoke-test-service-provision.yml

Smoke tests Service template provisioning and retirment.

Required groups

  • cfme-ui-appliances

Options

parameter required default comments
cfme_api_user Yes API user
cfme_api_password Yes API password
cfme_service_catalog_name Yes Service Catalog that contains the Service Tempalte to test
cfme_service_template_name Yes Service Teamplte to test
cfme_provision_service_dialog_options Yes Hash of dialog options to pass to the Service Template creation request
cfme_provision_service_retries No 60 Number of attempts at waiting for Provision Service task to complete
cfme_provision_service_delay No 60 Number of seconds between attempts at waiting for Provion Service task to complete
cfme_retire_service_retries No 60 Number of attempts at waiting for Retire Service task to complete
cfme_retire_service_delay No 60 Number of seconds between attempts at waiting for Retire Service task to complete

start-services.yml

Start all of the DB services then all of the Appliance services.

Required groups

  • cfme-appliancees
  • cfme-databases

stop-services.yml

Stop all of the Appliance services then all of the DB services.

Required groups

  • cfme-appliancees
  • cfme-databases

full-stop-start-services.yml

Stop all of the Appliance services, then all of the DB services, then start all of the DB services, then all of the Appliance services, then perform a helath check.

Required groups

  • cfme-appliancees
  • cfme-databases

health-check.yml

Checks the health of the Appliances.

Required groups

  • cfme-appliancees

gather-logs.yml

Gathers relevant logs from all of the appliances and puts them in an archive on the first DB host. Optionally emails the archive.

Required groups

  • cfme-databases

Options

parameter required default comments
cfme_gather_logs_smtp_host No SMTP host to send log archive email through. If not specified no email will be sent.
cfme_gather_logs_smtp_port No SMTP port to send log archive email through. If not specified no email will be sent.
cfme_gather_logs_email_from No Email addresses to send the log archive email from. If not specified no email will be sent.
cfme_gather_logs_email_to No Email addresses to send the log archive email to. If not specified no email will be sent

install-vddk.yml

Installs the VMware Virtual Disk Development Kit (VDDK). This is required to enable Smart State Analysis (SSA) for VMware hosts.

  • You will need a VMware login to download the VDDK. We do not provide this due to VMware licensing requirements.

Options

parameter required default comments
cfme_vddk_path Yes This is the file path, on the control node, of the downloaded VDDK.

uninstall-vddk.yml

Uninstalls the VMware Virtual Disk Development Kit (VDDK). This can be utilized in conjunction with install-vddk.yml when an upgrade of the VDDK is required.

About

Ansible playbooks for Red Hat CloudForms Management Engine (CFME).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%