aboutsummaryrefslogblamecommitdiffhomepage
path: root/playbook.yml
blob: 4936577fd3dda6cc5056319cfd0eb718828b9261 (plain) (tree)
1
2
3
4
5
6
7
8
9
   
                         
       


                                                   
                                    
                                                          
        
                             

                            
---
- hosts: rabbitmq_cluster
  vars:
    etc_hosts_add_all_hosts: true
    etc_hosts_pri_dns_name: '{{ pri_domain_name }}'
    pri_domain_name: 'vagrant.local'
    rabbitmq_enable_clustering: true
    rabbitmq_master: "{{ groups['rabbitmq_cluster'][0] }}"
  roles:
    - role: ansible-etc-hosts
    - role: ansible-rabbitmq
  tasks: