aboutsummaryrefslogtreecommitdiffhomepage
path: root/Vagrant/roles/ansible-rabbitmq/playbook.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Vagrant/roles/ansible-rabbitmq/playbook.yml')
-rw-r--r--Vagrant/roles/ansible-rabbitmq/playbook.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/Vagrant/roles/ansible-rabbitmq/playbook.yml b/Vagrant/roles/ansible-rabbitmq/playbook.yml
index 498c829..1968320 100644
--- a/Vagrant/roles/ansible-rabbitmq/playbook.yml
+++ b/Vagrant/roles/ansible-rabbitmq/playbook.yml
@@ -2,7 +2,7 @@
2- hosts: all 2- hosts: all
3 become: true 3 become: true
4 vars: 4 vars:
5 - pri_domain_name: 'test.vagrant.local' 5 pri_domain_name: 'test.vagrant.local'
6 roles: 6 roles:
7 tasks: 7 tasks:
8 - name: updating /etc/hosts 8 - name: updating /etc/hosts
@@ -11,15 +11,15 @@
11 regexp: "^{{ hostvars[item].ansible_ssh_host }} {{ item }} {{ item }}.{{ pri_domain_name }}" 11 regexp: "^{{ hostvars[item].ansible_ssh_host }} {{ item }} {{ item }}.{{ pri_domain_name }}"
12 line: "{{ 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 13 state: present
14 with_items: groups['all'] 14 with_items: "{{ groups['all'] }}"
15 15
16- hosts: all 16- hosts: all
17 become: true 17 become: true
18 vars: 18 vars:
19 - rabbitmq_config_ha: true 19 pri_domain_name: 'test.vagrant.local'
20 - rabbitmq_enable_clustering: true 20 rabbitmq_config_ha: true
21 - pri_domain_name: 'test.vagrant.local' 21 rabbitmq_enable_clustering: true
22 - rabbitmq_master: 'node0' 22 rabbitmq_master: 'node0'
23 roles: 23 roles:
24 - role: ansible-rabbitmq 24 - role: ansible-rabbitmq
25 tasks: 25 tasks: