Ansible playbooks for Red Hat CloudForms Management Engine (CFME).
Playbooks provided by this project.
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.
- 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.
- cfme
- cfme-appliancees
- cfme-databases
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) |
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.
- 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.
- cfme
- cfme-appliancees
- cfme-databases
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) |
Performs an update/upgrade of all packages on the CFME appliances and performs a reboot if necessary.
- cfme
- cfme-appliancees
- cfme-databases
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 tests Service template provisioning and retirment.
- cfme-ui-appliances
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 all of the DB services then all of the Appliance services.
- cfme-appliancees
- cfme-databases
Stop all of the Appliance services then all of the DB services.
- cfme-appliancees
- cfme-databases
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.
- cfme-appliancees
- cfme-databases
Checks the health of the Appliances.
- cfme-appliancees
Gathers relevant logs from all of the appliances and puts them in an archive on the first DB host. Optionally emails the archive.
- cfme-databases
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 |
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.
parameter | required | default | comments |
---|---|---|---|
cfme_vddk_path | Yes | This is the file path, on the control node, of the downloaded VDDK. |
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.