Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
kk
tower
Commits
07b4b6eb
Commit
07b4b6eb
authored
Dec 21, 2016
by
Aleksey Shirokih
Browse files
fix
parent
0661599e
Changes
1
Hide whitespace changes
Inline
Side-by-side
tower/api/deploy.py
View file @
07b4b6eb
...
...
@@ -104,7 +104,7 @@ class DeployHandler(BaseHandler):
# Run playbook
bin_path
=
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
getcwd
(),
"bin"
))
if
os
.
path
.
exists
(
"/.dockerenv"
):
ansible_ssh_cp
=
os
.
path
.
join
(
"/root/.ansible/cp/ansible-ssh-%h-%
p-
%r"
)
ansible_ssh_cp
=
os
.
path
.
join
(
"/root/.ansible/cp/ansible-ssh-%
%r-%%
h-%%r"
)
else
:
ansible_ssh_cp
=
os
.
path
.
join
(
"/tmp/tower-%%r-%%h-%%r"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment