-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create the Ansible inventory: * One guest host machine. * Five guests running on the host machine. Signed-off-by: Dimitris Poulopoulos <[email protected]>
- Loading branch information
1 parent
fb8f180
commit 3cfb2fe
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
virt_host: boogie | ||
virt_domain_disk_gb: 128 | ||
virt_domain_num_vcpus: 4 | ||
virt_domain_memory_mb: 16384 | ||
virt_domain_net_bridge: br0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Ansible will SSH into managed machines as this user | ||
ansible_user: root | ||
|
||
# Local user on the control machine | ||
user: root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
all: | ||
hosts: | ||
boogie: | ||
node1: | ||
ansible_host: 192.168.20.100 | ||
node2: | ||
ansible_host: 192.168.20.101 | ||
node3: | ||
ansible_host: 192.168.20.102 | ||
node4: | ||
ansible_host: 192.168.20.103 | ||
node5: | ||
ansible_host: 192.168.29.104 | ||
children: | ||
libvirt: | ||
hosts: | ||
node1: | ||
virt_domain_name: node1 | ||
virt_domain_net_macaddress: 52:54:00:DD:B9:81 | ||
node2: | ||
virt_domain_name: node2 | ||
virt_domain_net_macaddress: 52:54:00:0A:B8:82 | ||
node3: | ||
virt_domain_name: node3 | ||
virt_domain_net_macaddress: 52:54:00:2E:AB:32 | ||
node4: | ||
virt_domain_name: node4 | ||
virt_domain_net_macaddress: 52:54:00:19:F2:EF | ||
node5: | ||
virt_domain_name: node5 | ||
virt_domain_net_macaddress: 52:54:00:6C:BA:E1 | ||
admin: | ||
hosts: | ||
boogie: |