FRadu
Cadet
Cadet
  • 76 Views

ch07s08 doubt abouth collections_path

Hello,

I think that maybe (but not sure) the ansible.cfg generated on ch07s08 is slightly wrong.
This is being generated in ansible.cfg for collections location with lab start role-collections:

collections_paths=./collections:~/.ansible/collections:/usr/share/ansible/collections

But using the ansible to generate a commented out example file:
ansible-config init --disabled -t all > /home/student/ansible.cfg

Then search inside for collections_ the variable inside is the following "collections_path" instead of "collections_paths":
[student@workstation ~]$ cat ansible.cfg | grep collections_
;collections_path=~/.ansible/collections:/usr/share/ansible/collections

Also another question if I do use ./collections as directory, the "redhat" folder should not be created directly under ./collections instead of ./collections/ansible_collections/?


Thanks  

0 Kudos
0 Replies
Join the discussion
You must log in to join this conversation.