[ansible-devel] Re: Cannot import module from ~/.ansible/plugins/module_utils

2019-06-27 Thread Jordan Borean
Action plugins can reference ansible.module_utils but only for ones in the base Ansible package. Module can take advantage of the lookup path as it is built for you automatically and sent across to the remote host. Feel free to raise a PR to the Ansible docs at

[ansible-devel] Re: Cannot import module from ~/.ansible/plugins/module_utils

2019-06-27 Thread Modest Sokolov
Hello. I was able to solve problem. It seems, *the rule* from documentation "The ansible.module_utils namespace is not a plain Python package: it is constructed dynamically for each task invocation, by extracting imports and resolving those matching the namespace against a search path

[ansible-devel] How to move computer within OU in Active Directory

2019-06-27 Thread Stefano Leandro
Hi, I would to ask how to move computer within OU in Active Directory . Im thinking to use the module win_domain_computer like this : --- - name: Moving AD Computer into OU Testing hosts: all gather_facts: no tasks: - win_domain_computer: name: "{{ inventory_hostname