-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdeploy.yml
33 lines (29 loc) · 951 Bytes
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
- hosts: localhost
name: Lab Deployment
gather_facts: false
vars_prompt:
- name: "esxi_password"
prompt: "What is the ESXi Password? "
private: yes
- name: "vcenter_password"
prompt: "What is the vCenter Password? "
private: yes
- name: "vcenter7_license"
prompt: "What is the License for vCenter? "
private: yes
- name: "vsphere7_license"
prompt: "What is the License for vSphere7? "
private: yes
vars_files: answerfile.yml
tasks:
- name: setting fact
set_fact:
esxi_password: "{{ esxi_password }}"
vcenter_password: "{{ vcenter_password }}"
vcenter7_license: "{{ vcenter7_license }}"
vsphere7_license: "{{ vsphere7_license }}"
- import_playbook: playbooks/01-deploy-vcsa.yml
- import_playbook: playbooks/02-basic-config-vcsa.yml
- import_playbook: playbooks/03-add-hosts.yml
- import_playbook: playbooks/04-storage.yml