This repository has been archived by the owner on Jul 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
s/--content-paths/--collections-path for install, make use of ansible_collection consistent with ansible #239
Comments
alikins
added a commit
to alikins/mazer
that referenced
this issue
May 7, 2019
alikins
added a commit
to alikins/mazer
that referenced
this issue
May 7, 2019
@alikins I'd like to advocate for |
alikins
added a commit
to alikins/mazer
that referenced
this issue
May 8, 2019
In particular, content_root->collections_path. Fixes: ansible#239
alikins
added a commit
to alikins/mazer
that referenced
this issue
May 8, 2019
In particular, content_root->collections_path. Fixes: ansible#239
alikins
added a commit
to alikins/mazer
that referenced
this issue
May 8, 2019
WARNING: This will break any existing mazer.yml config file, as it changes the 'content_path' named key to now be 'collections_path'. No attempt is made to preserve compatibilty with config files used with mazer 0.4 or earlier. Also change global_content_path -> global_collections_path Fixes: ansible#239
alikins
added a commit
to alikins/mazer
that referenced
this issue
May 8, 2019
alikins
added a commit
to alikins/mazer
that referenced
this issue
May 8, 2019
In particular, content_root->collections_path. Fixes: ansible#239
alikins
added a commit
to alikins/mazer
that referenced
this issue
May 8, 2019
In particular, content_root->collections_path. Fixes: ansible#239
alikins
added a commit
that referenced
this issue
May 8, 2019
WARNING: This will break any existing mazer.yml config file, as it changes the 'content_path' named key to now be 'collections_path'. No attempt is made to preserve compatibilty with config files used with mazer 0.4 or earlier. Also change global_content_path -> global_collections_path Fixes: #239
alikins
added a commit
that referenced
this issue
May 8, 2019
alikins
added a commit
that referenced
this issue
May 8, 2019
In particular, content_root->collections_path. Fixes: #239
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug Report
At the moment, 'mazer install --content-path /tmp/some_dir some_namespace.some_name' will install the 'foo.bar' collection directly to
/tmp/some_dir/some_namespace
.But, the above won't work directly, since there is no 'ansible_collections' path between 'some_dir' and 'some_namespace'.
ansible-playbook will read an
ANSIBLE_COLLECTIONS_PATHS
env variable, which is expected to be colon separated directory paths that point to the dir before 'ansible_collections'ie,
ANSIBLE_COLLECTIONS_PATHS=/tmp/some_dir
will not find the collections installed with'mazer install --content-path /tmp/some_dir`.
Possible fixes
After changing
--content-path
to be--collections_path
Always append the 'ansible_collections' dir to whatever is provided for
--collections_path
Use it explicit with expectation that users will need to include the 'ansible_collections'
The main issue with 1) is that it isn't obvious how to install a playbook adjacent collection
Need to end up with
mazer install --collections_path ansible_collections
for 1) would result inFor case above with 1), a user could need to cd to that dir, then 'mazer install --collections_path .`
The text was updated successfully, but these errors were encountered: