-
Notifications
You must be signed in to change notification settings - Fork 3
/
extra_vars.example.yml
54 lines (54 loc) · 1.71 KB
/
extra_vars.example.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
51
52
53
54
---
engine_fqdn: rhvm.example.com
engine_user: admin@internal
engine_password: secret
miq_qcow_url: http://releases.manageiq.org/manageiq-ovirt-devel.qc2
miq_vm_name: miq-v2v
miq_vm_root_password: secret
miq_vm_cluster: MyCluster
miq_vm_ip_address: 192.168.122.17
miq_vm_netmask: 255.255.255.0
miq_vm_gateway: 192.168.122.1
miq_vm_dns_servers: 192.168.122.1
miq_vm_dns_domain: example.com
miq_vm_cloud_init:
user_name: root
root_password: "{{ miq_vm_root_password }}"
host_name: "{{ miq_vm_name }}.{{ miq_vm_dns_domain }}"
nic_name: eth0
nic_on_boot: True
nic_boot_protocol: static
nic_ip_address: "{{ miq_vm_ip_address }}"
nic_netmask: "{{ miq_vm_netmask }}"
nic_gateway: "{{ miq_vm_gateway }}"
dns_servers: "{{ miq_vm_dns_servers }}"
dns_search: "{{ miq_vm_dns_domain }}"
custom_script: |
run_cmd:
- echo 'net.ipv6.conf.all.disable_ipv6 = 1' > /etc/sysctl.d/ipv6.conf
- sysctl -p /etc/sysctl.d/ipv6.conf
- sed -i '/#ListenAddress ::/a ListenAddress {{ miq_vm_ip_address }}' /etc/ssh/sshd_config
- systemctl restart sshd.service
- sed -i '/inet_protocols = /s/= .*$/= ipv4/' /etc/postfix/main.cf
- systemctl restart postfix.service
miq_vm_disk_storage: V2V-Datastore
miq_vm_disks:
database:
name: "{{ miq_vm_name }}_Disk2"
size: 10GiB
interface: virtio
format: raw
miq_enabled_roles:
- git_owner
- notifier
miq_rhv_provider_name: V2V RHV4
miq_extra_providers:
- name: V2V VMware
type: ManageIQ::Providers::Vmware::InfraManager
hostname: vcenter.example.com
zone:
href: http://localhost:3000/api/zone/1
credentials:
userid: [email protected]
password: secret
miq_v2v_automate_ref: extended_reporting_and_rhv_upload