edpm_deploy_baremetal

This Ansible role deploys compute nodes with BMAAS, installs the OpenStack operator services then waits for the necessary components to be available.

Privilege escalation

This role doesn’t need privilege escalation.

Parameters

  • cifmw_edpm_deploy_baremetal_manifests_dir: (string) The directory path where the manifests will be stored. Default: {{ cifmw_manifests | default(cifmw_edpm_deploy_baremetal_basedir ~ '/artifacts/manifests') }}

  • cifmw_edpm_deploy_baremetal_dry_run: (boolean) Whether to perform a dry run of the deployment. Default: false

  • cifmw_install_yamls_defaults: (dictionary) Default values for installation. Default: {'NAMESPACE': 'openstack'}

  • cifmw_edpm_deploy_baremetal_wait_provisionserver_retries: (integer) Number of retries when waiting for the Provision Server pod. Default: 60

  • cifmw_edpm_deploy_baremetal_wait_provisionserver_timeout_mins: (integer) Timeout for waiting for the Provision Server deployment. Default: 20

  • cifmw_edpm_deploy_baremetal_wait_bmh_timeout_mins: (integer) Timeout for waiting for the bare metal nodes. Default: 20

  • cifmw_edpm_deploy_baremetal_wait_dataplane_timeout_mins: (integer) Timeout for waiting for the OpenStackDataPlane. Default: 30

  • cifmw_edpm_deploy_baremetal_update_os_containers: (Boolean) Update the uefi image. Default: false

  • cifmw_edpm_deploy_baremetal_repo_setup_override: (Boolean) Override the repo-setup service in OpenStackDataPlane with repo-setup-downstream. Default: false

  • cifmw_edpm_deploy_baremetal_create_vms: (Boolean) If enabled, compute nodes are pre-provisioned using Ironic else OpenStackProvisioner. Default: true

  • cifmw_edpm_deploy_baremetal_nova_compute_extra_config: (String) Oslo config snippet defining extra configuration for the nova-compute services. Defaults to an empty string.

  • cifmw_edpm_deploy_baremetal_custom_bootstrap: (Boolean) When true, skips the inline edpm_bootstrap_command kustomization patch so that a file-based kustomization can provide a custom bootstrap command instead. Default: false

  • cifmw_edpm_deploy_baremetal_bootc: (Boolean) Disables the inline edpm_bootstrap_command patch and dnf update for bootc-based immutable nodes. Default: false

Examples

1 - Perform edpm baremetal deployment

- hosts: all
  tasks:
    - name: Perform edpm baremetal deployment
      ansible.builtin.include_role:
        name: edpm_deploy_baremetal