zmf_cpm_provision_software_service¶
IBM z/OSMF collection provides an Ansible role, referred to as zmf_cpm_provision_software_service, to provision a z/OS middleware/software service using Cloud Provisioning & Management (CP&M) template.
Role Variables¶
- zmf_host
z/OSMF host name, specified via inventory file.
required: Truetype: str- zmf_port
z/OSMF port number, specified via inventory file.
required: Truetype: str- zmf_user
z/OSMF username, prompted when playbook is run.
required: Truetype: str- zmf_password
z/OSMF password, prompted when playbook is run.
required: Truetype: str- instance_record_dir
Path of the directory that provision role will use to capture various information about provisioned instance in json format.
Value for this variable is specified in host specific variables file in host_vars directory.
required: Truetype: strdefault: default value set in host_vars file is /tmp- instance_info_json_path
Path to the file that holds provisioned instance information, zmf_cpm_provision_software_service role will automatically generate this variable in the format of
<instance_record_dir>/<template_name>-<instance external_name>.json
required: Falsetype: str- cpm_template_name
Template name, i.e. software service to be provisioned.
required: Truetype: str- domain_name
Cloud domain name associated with the template.
required: Truetype: str- tenant_name
Identifies the CP&M Tenant name associated with the user that is driving this role.
This variable is required if zmf_user is associated with multiple CP&M tenants.
required: Truetype: str- systems_nicknames
System nick name as identified in z/OSMF.
If this variable is not specified, provisioning will take place on a system where z/OSMF is currently running.
required: Falsetype: str- api_polling_retry_count
Total retries number before role exit with failure waiting on instance action to complete.
This variable is specified in host specific variables file in host_vars directory.
required: Truetype: intdefault: default value set in host_vars file is 50- api_polling_interval_seconds
Interval time for each polling request in seconds.
This variable is specified in host specific variables file in host_vars directory.
required: Truetype: intdefault: default value set in host_vars file is 10
Dependencies¶
None
Requirements¶
See the section Requirements.