jborean93- Thanks for the confirmation. I was pretty sure that was the case, but had only recently learned that Powershell had linux versions and not up on what has or has not been ported over yet.
On Wed, Jan 3, 2024 at 1:38 PM [email protected] <[email protected]> wrote: > > That of course assumes that the ActiveDirectory powershell module is > available on Linux. > > It isn't, it's a Windows only component that cannot be installed > independently. What OP wants to do with the microsoft.ad.x modules cannot > be done outside of a Windows target host. They would have to find another > tool/set of modules that can run on Linux. > > On Wednesday, January 3, 2024 at 8:15:34 AM UTC+10 Evan Hisey wrote: > >> Why would you not want to be running the MS AD modules against a >> dedicate Windows AD management server? Understandably to tno run on an >> actual AD server, but most Windows domains have a dedicated >> Management/Utilities host for doing things like this. All the Microsoft AD >> community modules require the ActiveDirectory Powershell module. That is >> going to cause you several issue with running on the AWX controller (bad >> idea in general). You should look at Ansible execution environments to use >> Ansible builder to build a linux powershell container in your K8 cluster to >> for this. That of course assumes that the ActiveDirectory powershell module >> is available on Linux. >> >> On Tue, Jan 2, 2024 at 1:01 PM Thirumalai Raja A <[email protected]> >> wrote: >> >>> Hi, gys >>> >>> i have a task to manage AD objects like create, delete using ansible >>> task right now i am using win_shell command module to run the command on >>> windows target and creating AD objects. But I need to do it the same using >>> an inbuilt ansible module like microsoft.ad about my target host will >>> be localhost as its linux so that no dependency of windows target any one >>> can guide me on this. >>> >>> I am using AWX tower to run the playbook and AWX is running on the K8 >>> cluster. >>> >>> Regards, >>> >>> Thirumalai >>> >>> -- >>> >> 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/CALyK%3Dg8AXXg6kaB8A%2B9GFtwXQgB3F8MrYVjS1%3DOE-qSG2uqPJQ%40mail.gmail.com >>> <https://groups.google.com/d/msgid/ansible-project/CALyK%3Dg8AXXg6kaB8A%2B9GFtwXQgB3F8MrYVjS1%3DOE-qSG2uqPJQ%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/df02f909-21ce-4163-889a-8b8fcc65da40n%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/df02f909-21ce-4163-889a-8b8fcc65da40n%40googlegroups.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/CAEcFzYwTJO%3DueYzS1Ukavc4-wZ07vs6sxMZVPWcnpvuCO9fJ4w%40mail.gmail.com.
