-
Notifications
You must be signed in to change notification settings - Fork 1
/
dynamic_docs.yml
50 lines (42 loc) · 1.32 KB
/
dynamic_docs.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
- name: VMware visbility
hosts: localhost
tasks:
- name: Set VCenter parameters
ansible.builtin.include_vars: login_info.yml
- name: Use info role
ansible.builtin.import_role:
name: cloud.vmware_ops.info
vars:
info_license: true
info_storage: true
info_appliance: true
info_guest: true
info_cluster: true
info_hostname: "{{ vcenter_hostname }}"
info_username: "{{ vcenter_username }}"
info_password: "{{ vcenter_password }}"
info_validate_certs: false
- name: Print __guests info
ansible.builtin.debug:
msg: "{{ __guests }}"
- name: Print __clusters_info info
ansible.builtin.debug:
msg: "{{ __clusters_info }}"
- name: Print __license info
ansible.builtin.debug:
msg: "{{ __license }}"
- name: Print __storage_policy info
ansible.builtin.debug:
msg: "{{ __storage_policy }}"
- name: Print __clusters info
ansible.builtin.debug:
msg: "{{ __clusters }}"
- name: Template report into HTML
ansible.builtin.include_role:
name: "../roles/template"
- name: Load report to host on AWS S3
ansible.builtin.include_role:
name: "../roles/build_report_s3"
vars:
reports_aws_bucket_name: vmware-report