[ansible-project] Command Not found but module is installed

2020-10-21 Thread Fiend Busa
--- - hosts: all gather_facts: false connection: local become: yes become_method: enable collections: - arubanetworks.aos_switch tasks: - name: Show running configuration arubaoss_command: commands: ['show run'] ERROR! couldn't resolve module/action 'arubaoss_co

[ansible-project] Re: Command Not found but module is installed

2020-10-21 Thread Fiend Busa
Hey, I get the same error: ERROR! couldn't resolve module/action 'arubanetworks.aos_switch.arubaoss_command'. This often indicates a misspelling, missing collection, or incorrect module path. 12 13 On Wednesday, October 21, 2020 at 2:57:12 PM UTC-4 phil.gr...@gmail.com wrote: > what happens

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-22 Thread Fiend Busa
did you install the collection? > > On Wed, 21 Oct 2020 at 21:10, Fiend Busa wrote: > >> Hey, >> >> I get the same error: >> ERROR! couldn't resolve module/action >> 'arubanetworks.aos_switch.arubaoss_command'. This often indicates a

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-22 Thread Fiend Busa
I can see ~./.ansible/collections/arubanetworks/aos_switch/plugins/modules/arubaoss_command.py On Thursday, October 22, 2020 at 9:48:23 AM UTC-4 Fiend Busa wrote: > Hey, > > So all the collections are being installed in ~/.*ansible*/*collections*/ > > ansible CFG is located in /

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-22 Thread Fiend Busa
t ansible version you on? > > I'm not convinced that collection is complete as some of those modules > don't have docs that render for me using ansible-doc > > On Thu, 22 Oct 2020 at 15:10, Fiend Busa wrote: > >> >> I can see >> ~./.ansible/collections/aruba

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-22 Thread Fiend Busa
ion list' output? mine are under > ~/.ansible/collections/ansible_collections > what ansible version you on? > > I'm not convinced that collection is complete as some of those modules > don't have docs that render for me using ansible-doc > > On Thu, 22 Oct 2020 at

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-23 Thread Fiend Busa
ile permissions? > Also try ansible-doc -l | grep aruba to see if it can find those modules > > On Thu, 22 Oct 2020 at 18:10, Fiend Busa wrote: > >> Hey, >> >> Mine are all under: ~/.ansible/collections/ansible_collections >> >> ls -all in this dire

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-23 Thread Fiend Busa
Im running ansible through AWX if that makes a difference. On Friday, October 23, 2020 at 9:56:21 AM UTC-4 Fiend Busa wrote: > I tried updating ansible but it keeps installing version 2.9.6 every time > and not 2.10 > > As for ansible-doc -l | grep aruba > > I

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-23 Thread Fiend Busa
Ok i was able to update to 2.10 ansible-galaxy collection list does indeed show arubanetworks.aos_switch On Friday, October 23, 2020 at 9:57:43 AM UTC-4 Fiend Busa wrote: > Im running ansible through AWX if that makes a difference. > > On Friday, October 23, 2020 at 9:56:21 AM UTC-4 F

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-23 Thread Fiend Busa
nce. >> >> On Friday, October 23, 2020 at 9:56:21 AM UTC-4 Fiend Busa wrote: >> >>> I tried updating ansible but it keeps installing version 2.9.6 every >>> time and not 2.10 >>> >>> As for ansible-doc -l | grep aruba >>> >>> I

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-23 Thread Fiend Busa
On Friday, October 23, 2020 at 12:25:21 PM UTC-4 Fiend Busa wrote: > :O > > Sorry haha, I will try that, fingers crossed! > > On Friday, October 23, 2020 at 11:15:38 AM UTC-4 phil.gr...@gmail.com > wrote: > >> Yes that'll make all the difference! You should have

Re: [ansible-project] Re: Command Not found but module is installed

2020-10-23 Thread Fiend Busa
h 1) a different module > from the same collection and 2) a different collection > > On Fri, 23 Oct 2020 at 17:56, Fiend Busa wrote: > >> Im still getting the same error :( >> >> ERROR! couldn't resolve module/action 'arubaoss_command'. This often &g