File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22set -e
33
44export DOCK_INIT_BASE=" /opt/runnable/dock-init"
5- export CONSUL_HOSTNAME=" {{ consul_hostname }}"
5+ export CONSUL_HOSTNAME=" {{ consul_host_address }}"
66export CONSUL_PORT=" 8500"
77export ORG_ID=" $( cat /etc/default/docker | perl -n -e' /org=(\d+)/ && print $1' ) "
88export VAULT_TOKEN=" {{ vault_token }}"
Original file line number Diff line number Diff line change 1+ ---
2+ - hosts : consul
3+
14- hosts : docks
25 gather_facts : no
36 tasks :
47 - fail : msg="`vault_token` needs to be defined for this role"
58 when : vault_token is not defined
69
7- - fail : msg="`consul_hostname ` needs to be defined for this role"
8- when : consul_hostname is not defined
10+ - fail : msg="`consul_host_address ` needs to be defined for this role"
11+ when : consul_host_address is not defined
912
1013 - name : put script on machine
1114 become : yes
You can’t perform that action at this time.
0 commit comments