diff options
author | Larry Smith Jr <mrlesmithjr@gmail.com> | 2019-12-03 09:05:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-03 09:05:00 -0500 |
commit | feb48c4eb5dab5a61919226567e64ab748deec21 (patch) | |
tree | 5cdb67c23137b3a2f2477bff78cbdb3cc639bd0c | |
parent | 6c579ad359ebffd979a580d75216d0ed010f95fd (diff) | |
parent | 00f8e282087dec15be991c8242e1f6afac36c80c (diff) | |
download | ansible-rabbitmq-feb48c4eb5dab5a61919226567e64ab748deec21.tar.gz ansible-rabbitmq-feb48c4eb5dab5a61919226567e64ab748deec21.tar.zst ansible-rabbitmq-feb48c4eb5dab5a61919226567e64ab748deec21.zip |
Merge pull request #29 from paulrbr-fl/fix-debian-package-install
debian: fix the use of 'rabbitmq_debian_version' variable
-rw-r--r-- | tasks/debian.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tasks/debian.yml b/tasks/debian.yml index 0a6572e..3a4568d 100644 --- a/tasks/debian.yml +++ b/tasks/debian.yml | |||
@@ -41,13 +41,12 @@ | |||
41 | 41 | ||
42 | - name: debian | installing RabbitMQ server | 42 | - name: debian | installing RabbitMQ server |
43 | apt: | 43 | apt: |
44 | name: ['rabbitmq-server'] | 44 | name: |
45 | - rabbitmq-server{{ (rabbitmq_debian_version is defined) | ternary(['=',rabbitmq_debian_version] | join(''),'') }} | ||
45 | state: present | 46 | state: present |
46 | become: true | 47 | become: true |
47 | register: result | 48 | register: result |
48 | until: result is successful | 49 | until: result is successful |
49 | with_items: | ||
50 | - rabbitmq-server{{ (rabbitmq_debian_version is defined) | ternary(['=',rabbitmq_debian_version] | join(''),'') }} | ||
51 | 50 | ||
52 | - name: debian | enabling the RabbitMQ Management Console | 51 | - name: debian | enabling the RabbitMQ Management Console |
53 | rabbitmq_plugin: | 52 | rabbitmq_plugin: |