Hi Paul

I am using bellow python and ansible versions

 python version = 2.7.5
 ansible 2.9.27

it looks like with the current setup ansible-galaxy collection command does
not work for me please see below



[root@ansiblecontroller ~]# ansible-galaxy collection list cisco.ios
usage: ansible-galaxy collection [-h] COLLECTION_ACTION ...
ansible-galaxy collection: error: argument COLLECTION_ACTION: invalid
choice: u'list' (choose from 'init', 'build', 'publish', 'install')

Regards,




On Tue, Aug 2, 2022 at 9:47 AM Sagar Paul <[email protected]> wrote:

> Hi Hossein,
>
> So the issue you shared, doesn't really have to do anything with the
> ansible-core version being used,
> would you be able to share the output of `ansible-galaxy collection list
> cisco.ios`
> That would help me triage your issue better.
>
> Regards,
> Sagar Paul
>
> On Tue, Aug 2, 2022 at 7:00 PM Hossein Malakooti <
> [email protected]> wrote:
>
>> Hello
>>
>> I'm using ansible 2.9 and this command does not work on this version
>> I think I need to upgrade it to 2.10
>>
>> Regards,
>>
>>
>>
>>
>>
>> On Mon, Aug 1, 2022 at 2:31 AM Sagar Paul <[email protected]> wrote:
>>
>>> Hi Hossein,
>>>
>>> Thanks for sharing the details.
>>> You may use "ansible-galaxy collection list <namespace>.<collection>" to
>>> figure out the collection version you are using.
>>> You may raise an issue here
>>> <https://github.com/ansible-collections/cisco.ios/issues> for me to
>>> track it better.
>>>
>>> Regards,
>>> Sagar Paul
>>>
>>> On Sun, Jul 31, 2022 at 7:33 AM Hossein Malakooti <
>>> [email protected]> wrote:
>>>
>>>> Hi PAul
>>>>
>>>> Sure , here is the 9200 version
>>>>
>>>> Cisco IOS XE Software, Version 17.03.04b
>>>> Cisco IOS Software [Amsterdam], Catalyst L3 Switch Software
>>>> (CAT9K_LITE_IOSXE),
>>>>
>>>> and here is the 2960X version
>>>> Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version
>>>> 15.2(7)E5
>>>>
>>>> I'm abit new to ansible where can I find the Collector version ?
>>>>
>>>> Regards,
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Sat, Jul 30, 2022 at 12:43 AM Sagar Paul <[email protected]> wrote:
>>>>
>>>>> Hi Hossein,
>>>>>
>>>>> Would you be able to help me with the collection version you are using
>>>>> and the cisco ios version that both the devices have? Note the
>>>>> currently supported version of the collection is 15.6.x we are planning to
>>>>> upgrade to 17.4.x soon.
>>>>>
>>>>> Regards,
>>>>> Sagar Paul
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to a topic in the
>>>>> Google Groups "Ansible Project" group.
>>>>> To unsubscribe from this topic, visit
>>>>> https://groups.google.com/d/topic/ansible-project/-Pui8AiMKmA/unsubscribe
>>>>> .
>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>> [email protected].
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/ansible-project/CAEs9WgaASKu5WxxqdVAVXBDJojX2AvUk_7JfGgn64jfG4P_23A%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/ansible-project/CAEs9WgaASKu5WxxqdVAVXBDJojX2AvUk_7JfGgn64jfG4P_23A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Ansible Project" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/ansible-project/CABNDS_FxfZknfZQj7NM9PbgXzq0K-%3D3bXN4EuxEzNH-TJFPsgg%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/ansible-project/CABNDS_FxfZknfZQj7NM9PbgXzq0K-%3D3bXN4EuxEzNH-TJFPsgg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Ansible Project" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/ansible-project/-Pui8AiMKmA/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/ansible-project/CAEs9WgZuGK%2Bs1fypbVVe5%3D_is8JO2NQwUJUDRgtBoU_KGFweTg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/ansible-project/CAEs9WgZuGK%2Bs1fypbVVe5%3D_is8JO2NQwUJUDRgtBoU_KGFweTg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/CABNDS_HuLCyqB8SoiJTOmur81H0j3Ab090PKLdtdeLshsESB%3Dg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/ansible-project/CABNDS_HuLCyqB8SoiJTOmur81H0j3Ab090PKLdtdeLshsESB%3Dg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/-Pui8AiMKmA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAEs9WgYLCtYkStexYPP4J2chLdh82kjEY%2BDmns1BMxAkTMCnRA%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAEs9WgYLCtYkStexYPP4J2chLdh82kjEY%2BDmns1BMxAkTMCnRA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CABNDS_G1wo3OuKtshNDjm9uPY%2BFq_inGSCeP3jmKyauT8DD_rA%40mail.gmail.com.

Reply via email to