Commit 32d8aeb9 by John Jarvis

fixing vars_files import

parent 057f00ca
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
sudo: True sudo: True
gather_facts: False gather_facts: False
vars_files: vars_files:
- common/defaults/main.yml - roles/common/defaults/main.yml
- supervisor/defaults/main.yml - roles/supervisor/defaults/main.yml
tasks: tasks:
- name: supervisor | restart supervisor - name: supervisor | restart supervisor
service: > service: >
......
...@@ -64,6 +64,7 @@ if [[ -z $instance_type ]]; then ...@@ -64,6 +64,7 @@ if [[ -z $instance_type ]]; then
fi fi
deploy_host="${dns_name}.${dns_zone}" deploy_host="${dns_name}.${dns_zone}"
ssh-keygen -f "/var/lib/jenkins/.ssh/known_hosts" -R "$deploy_host"
if [[ -z $WORKSPACE ]]; then if [[ -z $WORKSPACE ]]; then
dir=$(dirname $0) dir=$(dirname $0)
...@@ -116,7 +117,6 @@ deploy[ora]=$ora ...@@ -116,7 +117,6 @@ deploy[ora]=$ora
deploy[discern]=$discern deploy[discern]=$discern
deploy[certs]=$certs 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 was selected run non-deploy tasks for all roles
if [[ $reconfigure == "true" ]]; then 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