Commit 0661599e authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

set special control path for dockerized tower

parent c192963a
......@@ -103,9 +103,12 @@ class DeployHandler(BaseHandler):
# Run playbook
bin_path = os.path.abspath(os.path.join(os.getcwd(), "bin"))
ansible_ssh_cp = os.path.join(
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(
env = os.environ.copy()
"NOC_ENV": str(,
Supports Markdown
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