Skip to content

Commit

Permalink
respect symlinks the inventory import venv_path
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanpetrello committed Mar 3, 2020
1 parent 9cdfc19 commit 0ac7d10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions awx/main/management/commands/inventory_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def __init__(self, source, is_custom=False, venv_path=None, verbosity=0):
self.venv_path = venv_path
else:
self.venv_path = settings.ANSIBLE_VENV_PATH
self.venv_path = os.path.realpath(self.venv_path)

def build_env(self):
env = dict(os.environ.items())
Expand Down

0 comments on commit 0ac7d10

Please sign in to comment.