Skip to content

Commit edfcbb8

Browse files
author
Bryan Kendall
committed
use all variables
1 parent 6e72b99 commit edfcbb8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ansible/group_vars/all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
# registry settings
33
registry_env: "prod"
4+
registry_port: 80
45

56
# for docker stop old container
67
stop_time: 5
@@ -102,4 +103,3 @@ shiva_port: 3000
102103

103104
# swarm
104105
swarm_master_port: 2375
105-

ansible/roles/consul-services/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- name: 'datadog'
1919
host_address: '{{ datadog_host_address }}'
2020
tags: ['master']
21-
port: 8125
21+
port: '{{ datadog_port }}'
2222
- name: 'rabbitmq'
2323
host_address: '{{ rabbit_host_address }}'
2424
tags: ['master']
@@ -30,7 +30,7 @@
3030
- name: 'registry'
3131
host_address: '{{ registry_host }}'
3232
tags: ['master']
33-
port: 80
33+
port: '{{ registry_port }}'
3434

3535
- name: send consul SIGUP to reload services
3636
sudo: yes

0 commit comments

Comments
 (0)