Skip to content

Commit d30965c

Browse files
authored
Avoid creating ~/.ansible/collections (#280)
Fixes: #279
1 parent 7862974 commit d30965c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/ansible_compat/runtime.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,6 @@ def load_collections(self) -> None:
232232
self.collections = OrderedDict()
233233
no_collections_msg = "None of the provided paths were usable"
234234

235-
# Workaround for https://github.com/ansible/ansible/issues/73127
236-
Path("~/.ansible/collections").expanduser().mkdir(exist_ok=True, parents=True)
237-
238235
proc = self.run(["ansible-galaxy", "collection", "list", "--format=json"])
239236
if proc.returncode == RC_ANSIBLE_OPTIONS_ERROR and (
240237
no_collections_msg in proc.stdout or no_collections_msg in proc.stderr

0 commit comments

Comments
 (0)