X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=defaults%2Fmain.yml;h=90d7fb599a842fd40b51a341d19513112e56ab6b;hb=f0d4a36933db49494d544dc7c801fc5beb8b584d;hp=a8d37f4ec9a04d866363dbb4bb6f1c764c32ca88;hpb=93a297c59940c7cfe88afe0f9110af5b4be521e3;p=github%2Ffretlink%2Fansible-rabbitmq.git diff --git a/defaults/main.yml b/defaults/main.yml index a8d37f4..90d7fb5 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,24 +1,49 @@ --- # defaults file for ansible-rabbitmq -config_rabbitmq_ha: false #defines if rabbitmq ha should be configured...define here or in group_vars/group -enable_rabbitmq_clustering: false #defines if setting up a rabbitmq cluster...define here or in group_vars/group -erlang_cookie: LSKNKBELKPSTDBBCHETL #define erlang cookie for cluster...define here or in group_vars/group -erlang_cookie_file: /var/lib/rabbitmq/.erlang.cookie -rabbitmq_config: - - queue_name: logstash - durable: true - exchange_name: logstash - type: direct - routing_key: logstash - tags: 'ha-mode=all,ha-sync-mode=automatic' -rabbitmq_debian_repo: deb http://www.rabbitmq.com/debian/ testing main -rabbitmq_debian_repo_key: http://www.rabbitmq.com/rabbitmq-signing-key-public.asc -rabbitmq_master: [] #defines the inventory host that should be considered master...define here or in group_vars/group -rabbitmq_users: #define admin user to create in order to login to WebUI - - name: rabbitmqadmin - password: rabbitmqadmin - vhost: / +rabbitmq_config: [] + # - queue_name: 'logstash' + # durable: true + # exchange_name: logstash + # type: 'direct' + # routing_key: 'logstash' + # tags: 'ha-mode=all,ha-sync-mode=automatic' + +# Defines if rabbitmq ha should be configured +rabbitmq_config_ha: false + +rabbitmq_config_service: false + +rabbitmq_debian_repo: 'deb http://www.rabbitmq.com/debian/ testing main' +rabbitmq_debian_repo_key: 'https://www.rabbitmq.com/rabbitmq-release-signing-key.asc' + +# 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' + +# 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 admin user to create in order to login to WebUI +rabbitmq_users: + - name: 'rabbitmqadmin' + password: 'rabbitmqadmin' + vhost: '/' configure_priv: '.*' read_priv: '.*' write_priv: '.*' - tags: 'administrator' #define comma separated list of tags to assign to user....management,policymaker,monitoring,administrator...required for management plugin. https://www.rabbitmq.com/management.html + # 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'