aboutsummaryrefslogblamecommitdiffhomepage
path: root/defaults/main.yml
blob: f7138a79f6404e00b2f3e7a2e101c3c77b9b7f95 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                                    
                   








                                              




                                             
                                                     
 
                                                                        
            


                                                                                                                   
                                         


                                



                                          
                                                             


                          

             
 


                          


             
                       




                                            
 


                                                             



                                                                                                      
 




                                   

                                                        





                           



                                                            
                       
---
# defaults file for ansible-rabbitmq
rabbitmq_config: []
# - queue_name: logstash
#   durable: true
#   exchange_name: logstash
#   type: direct
#   routing_key: logstash
#   tags: "ha-mode=all,ha-sync-mode=automatic"
# - policy_pattern: ".*"
#   vhost: apps
#   tags: "ha-mode=all,ha-sync-mode=automatic"

# Defines if rabbitmq ha should be configured
rabbitmq_config_ha: false

rabbitmq_config_service: false
rabbitmq_config_file: etc/rabbitmq/rabbitmq.config.j2

# rabbitmq_debian_repo: deb http://www.rabbitmq.com/debian/ testing main
#other repos
rabbitmq_debian_repo: "deb https://dl.bintray.com/rabbitmq/debian {{ ansible_distribution_release }} main #bintray"
# rabbitmq_debian_repo_key: https://www.rabbitmq.com/rabbitmq-release-signing-key.asc
rabbitmq_debian_repo_key: https://bintray.com/user/downloadSubjectPublicKey?username=rabbitmq
rabbitmq_debian_erlang_from_rabbit: false

# current version if not defined
rabbitmq_debian_version: 3.7.9

# Defines if setting up a rabbitmq cluster
rabbitmq_enable_clustering: false

rabbitmq_erlang_cookie_file: /var/lib/rabbitmq/.erlang.cookie

rabbitmq_listen_port: 5672
rabbitmq_listeners: []
# - 127.0.0.1
# - '::1'

rabbitmq_ssl_enable: false
rabbitmq_ssl_port: 5671
rabbitmq_ssl_listeners: []
# - 127.0.0.1
# - "::1"

rabitmq_ssl_options: {}
# cacertfile: '"/path/to/testca/cacert.pem"'
# certfile: '"/path/to/server/cert.pem"'
# keyfile: '"/path/to/server/key.pem"'
# verify: verify_peer
# fail_if_no_peer_cert: "false"

# Defines the inventory host that should be considered master
rabbitmq_master: []

rabbitmq_redhat_repo_key: https://www.rabbitmq.com/rabbitmq-signing-key-public.asc
rabbitmq_redhat_package: "rabbitmq-server-{{ rabbitmq_redhat_version }}-1.noarch.rpm"
rabbitmq_redhat_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v{{ rabbitmq_redhat_version }}"
rabbitmq_redhat_version: 3.6.1

# Define extra vhosts to be created
rabbitmq_extra_vhosts: []
# - name: /
#   state: present

# Define admin user to create in order to login to WebUI
rabbitmq_users:
  - name: rabbitmqadmin
    password: rabbitmqadmin
    vhost: /
    configure_priv: ".*"
    read_priv: ".*"
    write_priv: ".*"
    # Define comma separated list of tags to assign to user:
    # management,policymaker,monitoring,administrator
    # required for management plugin.
    # https://www.rabbitmq.com/management.html
    tags: administrator