diff options
author | Larry Smith Jr <mrlesmithjr@gmail.com> | 2018-12-19 09:50:10 -0500 |
---|---|---|
committer | Larry Smith Jr <mrlesmithjr@gmail.com> | 2018-12-20 00:55:34 -0500 |
commit | 4353d29ae004cea98d3a80ef941aaa155c84bf9a (patch) | |
tree | 964561a22ead9ec868e525ce7f132ecc6d8efaea /tasks/debian.yml | |
parent | c760a03786a2247c14129dfd22c0e0fe1357f094 (diff) | |
download | ansible-rabbitmq-4353d29ae004cea98d3a80ef941aaa155c84bf9a.tar.gz ansible-rabbitmq-4353d29ae004cea98d3a80ef941aaa155c84bf9a.tar.zst ansible-rabbitmq-4353d29ae004cea98d3a80ef941aaa155c84bf9a.zip |
Cleaned up Vagrant and merged new commits
Diffstat (limited to 'tasks/debian.yml')
-rw-r--r-- | tasks/debian.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tasks/debian.yml b/tasks/debian.yml index f35bf55..c98ff68 100644 --- a/tasks/debian.yml +++ b/tasks/debian.yml | |||
@@ -4,12 +4,16 @@ | |||
4 | url: "{{ rabbitmq_debian_repo_key }}" | 4 | url: "{{ rabbitmq_debian_repo_key }}" |
5 | state: present | 5 | state: present |
6 | become: true | 6 | become: true |
7 | register: result | ||
8 | until: result is successful | ||
7 | 9 | ||
8 | - name: debian | adding RabbitMQ repo | 10 | - name: debian | adding RabbitMQ repo |
9 | apt_repository: | 11 | apt_repository: |
10 | repo: "{{ rabbitmq_debian_repo }}" | 12 | repo: "{{ rabbitmq_debian_repo }}" |
11 | state: present | 13 | state: present |
12 | become: true | 14 | become: true |
15 | register: result | ||
16 | until: result is successful | ||
13 | 17 | ||
14 | - name: debian | add Rabbitmq erlang repo key | 18 | - name: debian | add Rabbitmq erlang repo key |
15 | apt_key: | 19 | apt_key: |
@@ -27,7 +31,7 @@ | |||
27 | 31 | ||
28 | - name: debian | installing RabbitMQ server | 32 | - name: debian | installing RabbitMQ server |
29 | apt: | 33 | apt: |
30 | name: "{{ item }}" | 34 | name: ['rabbitmq-server'] |
31 | state: present | 35 | state: present |
32 | become: true | 36 | become: true |
33 | with_items: | 37 | with_items: |