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 /Vagrant/roles/ansible-rabbitmq/playbook.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 'Vagrant/roles/ansible-rabbitmq/playbook.yml')
-rw-r--r-- | Vagrant/roles/ansible-rabbitmq/playbook.yml | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Vagrant/roles/ansible-rabbitmq/playbook.yml b/Vagrant/roles/ansible-rabbitmq/playbook.yml deleted file mode 100644 index 1968320..0000000 --- a/Vagrant/roles/ansible-rabbitmq/playbook.yml +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | --- | ||
2 | - hosts: all | ||
3 | become: true | ||
4 | vars: | ||
5 | pri_domain_name: 'test.vagrant.local' | ||
6 | roles: | ||
7 | tasks: | ||
8 | - name: updating /etc/hosts | ||
9 | lineinfile: | ||
10 | dest: /etc/hosts | ||
11 | regexp: "^{{ hostvars[item].ansible_ssh_host }} {{ item }} {{ item }}.{{ pri_domain_name }}" | ||
12 | line: "{{ hostvars[item].ansible_ssh_host }} {{ item }} {{ item }}.{{ pri_domain_name }}" | ||
13 | state: present | ||
14 | with_items: "{{ groups['all'] }}" | ||
15 | |||
16 | - hosts: all | ||
17 | become: true | ||
18 | vars: | ||
19 | pri_domain_name: 'test.vagrant.local' | ||
20 | rabbitmq_config_ha: true | ||
21 | rabbitmq_enable_clustering: true | ||
22 | rabbitmq_master: 'node0' | ||
23 | roles: | ||
24 | - role: ansible-rabbitmq | ||
25 | tasks: | ||