yatin 4666dc02a0 Move 'extra_tht_configs' tasks to overcloud-deploy role
'extra_tht_configs' parameter is used to pass extra tht
configs to overcloud deploy command(using 'extra_tht_config_args'
fact), this parameter is used to modify overcloud-deploy command,
so this patch moves the tasks associated with it to overcloud-deploy
role.

Closes-Bug: #1806328
Change-Id: I4367bd554bfc06b2416fee792b5b2a91ff8f7ff8
2019-06-07 16:29:27 +05:30

3.8 KiB

Role Name

ansible-role-tripleo-overcloud

Requirements

Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.

Role Variables

A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.

  • overcloud_ipv6: enables IPv6 deployment on the overcloud
  • enable_cinder_backup: false/true - enables cinder-backup service.
  • deployed_server: false/true - enables support for nodepool deployed server deployment (default: false)
  • overcloud_cloud_name: Sets the FQDN for the overcloud's public VIP.
  • overcloud_cloud_name_internal: Sets the FQDN for the overcloud's VIP for the internal network.
  • overcloud_cloud_name_storage: Sets the FQDN for the overcloud's VIP for the storage network.
  • overcloud_cloud_name_storage_management: Sets the FQDN for the overcloud's VIP for the storage management network.
  • overcloud_cloud_name_ctlplane: Sets the FQDN for the overcloud's VIP for the ctlplane network.
  • overcloud_cloud_domain: Sets the domain for the nodes' internal hostnames.
  • enable_swap: Enables swap in the overcloud nodes.
  • swap_type: Defines the approach to adding swap that will be used, the available options are 'file' and 'partition'. Defaults to 'file'.
  • composable_services: false/true - whether to use customized list of services
  • overcloud_services: structure specifying services for roles. See the overcloud-deploy role's defaults.yaml file for an example.
  • composable_roles: false/true - whether to use custom roles_data.yaml
  • overcloud_roles: contents of custom roles_data.yaml (as a YAML structure, not a string). See roles_data.yaml in the tripleo-heat-templates repository for example contents.
  • generate_overcloud_roles: String specifying of roles to generate overcloud_roles.yaml using the openstack overcloud roles generate command. Note this takes precedence over the overcloud_roles variable.
  • tripleo_config_download_log: Sets the TripleO config-download log file path.
  • ansible_steps_log: Sets the TripleO Ansible steps log file path.
  • config_download_args: Sets the arguments to load config-download environment in THT.
  • deploy_steps_ansible_workflow: false/true - whether to deploy the overcloud with config-download Ansible steps from a Mistral workflow.
  • libvirt_args: libvirt arguments used to deploy overcloud as the --libvirt_type virt_type.
  • virt_type: qemu|kvm default is qemu. kvm is only enabled when kvm-{intel|amd} kernel module can be loaded.
  • topology_map: undefined - a dictionary of roles with their scale (count) and flavor names. Example: topology_map: { 'Controller': { 'scale': 3, 'flavor': 'baremetal' } }
  • extra_tht_configs: -- a list of files to copy to the undercloud and add as extra config to the overcloud-deployment command.

Dependencies

A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: username.rolename, x: 42 }

License

Apache

Author Information

An optional section for the role authors to include contact information, or a website (HTML is not allowed).