vmware-archive / ansible-role-vcsa

Other
27 stars 8 forks source link

ansible-role-vcsa

Deploys a VMware Platform Service Controller or vCenter Server Appliance using the ovftool.

Requirements

This role requires the following (Pip) modules.

Role Variables

This role is under heavy development, thus the variables may change often. At present, the following variables are setup via defaults/main.yml, or are otherwise required.

Note: A non-defaulted variable, download_site, must be set by a vars file or by other mechanism prior to calling this role. The download_site must provide a URL base (e.g., http://mysite.com/downloads) from which the download files (e.g., ISO files or similar) may be obtained. See the defaults/main.yml for the files of interest.

the_one_task_template
the_one_task
vcenter_host
vcenter_user
vcenter_password
vcenter_port
esx_hostname
esx_username
esx_password
esx_datastore
esx_network
appliance_thin_disk_mode
ip_family
time_tools_sync
ssh_enable
database_type
sso_domain_name
sso_site_name
sso_password
psc_appliance_vcenter_name
vcsa_appliance_vcenter_name
psc_appliance_domain_name
vcsa_appliance_domain_name
psc_appliance_root_password
vcsa_appliance_root_password
appliance_deployment_option
psc_appliance_ip_address
psc_appliance_ip_prefix
psc_appliance_ip_gw
psc_appliance_dns_servers
vcsa_appliance_ip_address
vcsa_appliance_ip_prefix
vcsa_appliance_ip_gw
vcsa_appliance_dns_servers
ovftool
iso
ova
mount_dir_path
ovftool_http_timeout

Example Playbook

- name: Deploy a virtual machine via ovftool
  hosts: localhost
  gather_facts: false
  vars_files:
    - roles/vcsa/vars/main.yml
    - roles/vcsa/defaults/main.yml
  roles:
    - vcsa

License and Copyright

Copyright 2015 VMware, Inc. All rights reserved.

SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-only

This code is Dual Licensed Apache-2.0 or GPLv3

Author Information

This role was created in 2015 by Jake Dupuy / VMware.