Skip to content

Commit

Permalink
Dependency installation directory is changed (#3980)
Browse files Browse the repository at this point in the history
After #3962, the dependency installation directory is changed

Signed-off-by: Jack Zhang <[email protected]>
  • Loading branch information
zhan9san authored Jul 31, 2023
1 parent 7f2f24e commit 1bf9c69
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/molecule/dependency/ansible_galaxy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
class AnsibleGalaxy(Base):
"""Galaxy is the default dependency manager.
From v6.0.0, the dependencies are installed in the directory that defined
in ansible configuration. The default installation directory is
[DEFAULT_ROLES_PATH][]([ANSIBLE_HOME][]). If two versions of the same
dependency is required, there is a conflict if the default installation
directory is used because both are tried to be installed in one directory.
Additional options can be passed to ``ansible-galaxy install`` through the
options dict. Any option set in this section will override the defaults.
Expand Down Expand Up @@ -74,6 +80,9 @@ class AnsibleGalaxy(Base):
env:
FOO: bar
```
[DEFAULT_ROLES_PATH]: https://docs.ansible.com/ansible/latest/cli/ansible-galaxy.html#cmdoption-ansible-galaxy-role-remove-p
[ANSIBLE_HOME]: https://docs.ansible.com/ansible/latest/reference_appendices/config.html#ansible-home
"""

def __init__(self, config) -> None:
Expand Down

0 comments on commit 1bf9c69

Please sign in to comment.