diff options
-rw-r--r-- | defaults/main.yml | 1 | ||||
-rw-r--r-- | tasks/config.yml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/defaults/main.yml b/defaults/main.yml index 2c51370..9e9f3c8 100644 --- a/defaults/main.yml +++ b/defaults/main.yml | |||
@@ -12,6 +12,7 @@ rabbitmq_config: [] | |||
12 | rabbitmq_config_ha: false | 12 | rabbitmq_config_ha: false |
13 | 13 | ||
14 | rabbitmq_config_service: false | 14 | rabbitmq_config_service: false |
15 | rabbitmq_config_file: 'etc/rabbitmq/rabbitmq.config.j2' | ||
15 | 16 | ||
16 | rabbitmq_debian_repo: 'deb http://www.rabbitmq.com/debian/ testing main' | 17 | rabbitmq_debian_repo: 'deb http://www.rabbitmq.com/debian/ testing main' |
17 | rabbitmq_debian_repo_key: 'https://www.rabbitmq.com/rabbitmq-release-signing-key.asc' | 18 | rabbitmq_debian_repo_key: 'https://www.rabbitmq.com/rabbitmq-release-signing-key.asc' |
diff --git a/tasks/config.yml b/tasks/config.yml index 9ea5da2..091cca1 100644 --- a/tasks/config.yml +++ b/tasks/config.yml | |||
@@ -1,7 +1,7 @@ | |||
1 | --- | 1 | --- |
2 | - name: config | Configuring RabbitMQ | 2 | - name: config | Configuring RabbitMQ |
3 | template: | 3 | template: |
4 | src: "etc/rabbitmq/rabbitmq.config.j2" | 4 | src: "{{ rabbitmq_config_file }}" |
5 | dest: "/etc/rabbitmq/rabbitmq.config" | 5 | dest: "/etc/rabbitmq/rabbitmq.config" |
6 | become: true | 6 | become: true |
7 | notify: "restart rabbitmq-server" | 7 | notify: "restart rabbitmq-server" |