-
Notifications
You must be signed in to change notification settings - Fork 0
/
master_demo_playbook.yml
25 lines (24 loc) · 1.65 KB
/
master_demo_playbook.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
---
- name: Create a master demo pulling in all concepts to demonstrate grand automation power
hosts: localhost
connection: local
roles:
- { role: dynamicInfoblox }
- { role: dynamicInfoblox, host_count: 5, ansible_zone: redhat.com }
- { role: dynamicInfoblox, host_count: 3, ansible_subnet: 192.168.2.0/24 }
- { role: updateService, state: started, grid_fqdn: gmc.ansible.local }
#The these roles require additional Infoblox appliances - they can be commented out if desired
#- { role: predefineGridmember, member_name: m3.redhat.com, member_address: 192.168.2.3, member_gateway: 192.168.2.254, member_subnet_mask: 255.255.255.0 }
#- { role: predefineGridmember, member_name: m5.ansible.local, member_address: 192.168.1.5, member_gateway: 192.168.1.1, member_subnet_mask: 255.255.255.0 }
#- { role: predefineGridmasterCandidate, master_candidate_name: gmc.redhat.com, master_candidate_address: 192.168.2.2, master_candidate_gateway: 192.168.2.254, master_candidate_subnet_mask: 255.255.255.0 }
#- { role: joinGrid, join_grid_host: 192.168.2.3 }
#- { role: joinGrid, join_grid_host: 192.168.1.5 }
#- { role: joinGrid, join_grid_host: 192.168.2.2 }
#- { role: updateService, state: started, grid_fqdn: m3.redhat.com }
#- { role: updateService, state: started, grid_fqdn: m5.ansible.local }
#- { role: updateService, state: started, grid_fqdn: gmc.redhat.com }
#This role has hardcoded information because it is difficult to parameterize long grid_primary and grid_secondary lists
#- { role: updateNameServerGroup }
#Snapshot role does not require additional appliances
- { role: snapshotConfiguration }
...