Neither 
https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-and-running-the-devel-branch-from-source
 
nor 
https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_general.html#common-environment-setup
 
doesn't mention anything about needing to install ansible.posix separately 
from Ansible. And I thought that the ansible.* collections were actually 
part of Ansible itself, so you would not need to install them in the first 
place. Am I missing something? Is that only true of packaged Ansible and 
not true for a git clone?



On Thursday, May 6, 2021 at 12:44:52 PM UTC-7 David Reagan wrote:

> > Why do you think the module should be in community.general?
> Because that is where I found seport. 
> https://github.com/ansible-collections/community.general/blob/main/plugins/modules/seport.py
>  
> (Or, now that I look at that file, thought I had found seport.)
>
> > Do you have Ansible installed, and not just ansible-base with 
> community.general? Because if you don't have ansible.posix installed 
> (which comes with Ansible), the above message is not surprising. 
>
> I'm testing my roles by running Ansible from source. So I have the main 
> ansible repo checked out to stable-2.10, and I run `source 
> ansible/hacking/env-setup` to start using it.
>
> Am I missing a step? I guess I will go review the running from source 
> docs....
>
>
> On Thursday, May 6, 2021 at 12:11:01 PM UTC-7 Felix Fontein wrote:
>
>> Hi,
>>
>> > The seboolean module has apparently disappeared from Ansible 2.10.
>>
>> according to ansible-base's ansible_builtin_runtime.yml, the module
>> resides in ansible.posix, and there I can find it:
>>
>> https://github.com/ansible-collections/ansible.posix/blob/main/plugins/modules/seboolean.py
>>
>> > It also doesn't exist in community.general.
>>
>> Why do you think the module should be in community.general?
>>
>>
>> > ERROR! couldn't resolve module/action 'seboolean'. This often
>> > indicates a misspelling, missing collection, or incorrect module path.
>>
>> Do you have Ansible installed, and not just ansible-base with
>> community.general? Because if you don't have ansible.posix installed
>> (which comes with Ansible), the above message is not surprising.
>>
>> Cheers,
>> Felix
>>
>>
>>

-- 
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/8f327192-a906-45d8-ac6b-502354003aben%40googlegroups.com.

Reply via email to