Commit 32d8aeb9 by John Jarvis

fixing vars_files import

parent 057f00ca
......@@ -3,8 +3,8 @@
sudo: True
gather_facts: False
vars_files:
- common/defaults/main.yml
- supervisor/defaults/main.yml
- roles/common/defaults/main.yml
- roles/supervisor/defaults/main.yml
tasks:
- name: supervisor | restart supervisor
service: >
......
......@@ -64,6 +64,7 @@ if [[ -z $instance_type ]]; then
fi
deploy_host="${dns_name}.${dns_zone}"
ssh-keygen -f "/var/lib/jenkins/.ssh/known_hosts" -R "$deploy_host"
if [[ -z $WORKSPACE ]]; then
dir=$(dirname $0)
......@@ -116,7 +117,6 @@ deploy[ora]=$ora
deploy[discern]=$discern
deploy[certs]=$certs
ssh-keygen -f "/var/lib/jenkins/.ssh/known_hosts" -R "$deploy_host"
# If reconfigure was selected run non-deploy tasks for all roles
if [[ $reconfigure == "true" ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment