ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ansible Agent Option?

    IT Discussion
    ansible
    11
    163
    17.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by

      Specifically

      https://docs.ansible.com/ansible/latest/user_guide/windows_faq.html#can-ansible-run-on-windows

      No, Ansible can only manage Windows hosts. Ansible cannot run on a Windows host natively, though it can run under the Windows Subsystem for Linux (WSL).

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @Obsolesce
        last edited by

        @Obsolesce said in Ansible Agent Option?:

        Why Ansible with Windows?

        Because it seems to be more robust than Salt.

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @DustinB3403
          last edited by

          @DustinB3403 said in Ansible Agent Option?:

          @Obsolesce said in Ansible Agent Option?:

          Why Ansible with Windows?

          I don't think @scottalanmiller is running Ansible from Windows, but looking to manage Windows with Ansible.

          Which it looks like it's included. .

          https://www.ansible.com/integrations/infrastructure/windows

          Correct. It is included, but how do you reach it when the Windows client leaves the LAN?

          DustinB3403D 1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403 @scottalanmiller
            last edited by

            @scottalanmiller said in Ansible Agent Option?:

            @DustinB3403 said in Ansible Agent Option?:

            @Obsolesce said in Ansible Agent Option?:

            Why Ansible with Windows?

            I don't think @scottalanmiller is running Ansible from Windows, but looking to manage Windows with Ansible.

            Which it looks like it's included. .

            https://www.ansible.com/integrations/infrastructure/windows

            Correct. It is included, but how do you reach it when the Windows client leaves the LAN?

            How would you reach anything else when it's not on the LAN?

            VPN, ssh etc.

            scottalanmillerS 2 Replies Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @DustinB3403
              last edited by

              @DustinB3403 said in Ansible Agent Option?:

              @scottalanmiller said in Ansible Agent Option?:

              @DustinB3403 said in Ansible Agent Option?:

              @Obsolesce said in Ansible Agent Option?:

              Why Ansible with Windows?

              I don't think @scottalanmiller is running Ansible from Windows, but looking to manage Windows with Ansible.

              Which it looks like it's included. .

              https://www.ansible.com/integrations/infrastructure/windows

              Correct. It is included, but how do you reach it when the Windows client leaves the LAN?

              How would you reach anything else when it's not on the LAN?

              VPN, ssh etc.

              Salt has no issue with that, works the same on LAN or off LAN.

              1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403
                last edited by

                With Windows, my guess would be Powershell over SSH

                https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/ssh-remoting-in-powershell-core?view=powershell-6

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @DustinB3403
                  last edited by

                  @DustinB3403 said in Ansible Agent Option?:

                  @scottalanmiller said in Ansible Agent Option?:

                  @DustinB3403 said in Ansible Agent Option?:

                  @Obsolesce said in Ansible Agent Option?:

                  Why Ansible with Windows?

                  I don't think @scottalanmiller is running Ansible from Windows, but looking to manage Windows with Ansible.

                  Which it looks like it's included. .

                  https://www.ansible.com/integrations/infrastructure/windows

                  Correct. It is included, but how do you reach it when the Windows client leaves the LAN?

                  How would you reach anything else when it's not on the LAN?

                  VPN, ssh etc.

                  Don't want a VPN or to expose ports. Salt handles this beautifully. I can't figure out how all the other ecosystems deal with the myriad machines that don't sit directly accessible on the LAN.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @DustinB3403
                    last edited by

                    @DustinB3403 said in Ansible Agent Option?:

                    With Windows, my guess would be Powershell over SSH

                    https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/ssh-remoting-in-powershell-core?view=powershell-6

                    SSH call back automation isn't the best and if you don't have a person managing it, I think you are going to have a tough time.

                    DustinB3403D 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      SHould work, in theory, but having every machine SSH back to the Ansible server to establish a tunnel is extremely cumbersome.

                      1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @scottalanmiller
                        last edited by DustinB3403

                        @scottalanmiller said in Ansible Agent Option?:

                        @DustinB3403 said in Ansible Agent Option?:

                        With Windows, my guess would be Powershell over SSH

                        https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/ssh-remoting-in-powershell-core?view=powershell-6

                        SSH call back automation isn't the best and if you don't have a person managing it, I think you are going to have a tough time.

                        Well windows isn't* POSIX compliant so yeah. . I'd expect as much.

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @DustinB3403
                          last edited by

                          @DustinB3403 said in Ansible Agent Option?:

                          @scottalanmiller said in Ansible Agent Option?:

                          @DustinB3403 said in Ansible Agent Option?:

                          With Windows, my guess would be Powershell over SSH

                          https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/ssh-remoting-in-powershell-core?view=powershell-6

                          SSH call back automation isn't the best and if you don't have a person managing it, I think you are going to have a tough time.

                          Well windows is POSIX compliant so yeah. . I'd expect as much.

                          Yeah, but it would be crappy on UNIX, too. SSH call backs are just cumbersome all around.

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            That's why Salt uses an agent, an agent of some sort is required for normal companies to have coverage.

                            1 Reply Last reply Reply Quote 1
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              I think most companies try to only manage a very limited subset of their machines with these tools, and just skip managing the "tough ones" in almost all cases. Which is fine, but totally doesn't meet my needs 95% of the time.

                              DustinB3403D 1 Reply Last reply Reply Quote 1
                              • DustinB3403D
                                DustinB3403 @scottalanmiller
                                last edited by

                                @scottalanmiller said in Ansible Agent Option?:

                                I think most companies try to only manage a very limited subset of their machines with these tools, and just skip managing the "tough ones" in almost all cases. Which is fine, but totally doesn't meet my needs 95% of the time.

                                Yeah, I'm kind of in the same boat. Ansible fits for the 95% that I want to manage (Apple) but I need it to do some backflips to make it work.

                                And am totally skipping Windows with Ansible because we have so few of them that the setup time just isn't worth it IMO.

                                Still playing it all out though.

                                1 Reply Last reply Reply Quote 1
                                • ObsolesceO
                                  Obsolesce
                                  last edited by

                                  Why not have an Ansible server on the same network as the devices and reachable by the Ansible server?

                                  coliverC scottalanmillerS 2 Replies Last reply Reply Quote 0
                                  • coliverC
                                    coliver @Obsolesce
                                    last edited by

                                    @Obsolesce said in Ansible Agent Option?:

                                    Why not have an Ansible server on the same network as the devices and reachable by the Ansible server?

                                    From an MSP perspective that can get pretty inefficient and heavy.

                                    scottalanmillerS ObsolesceO 2 Replies Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @Obsolesce
                                      last edited by

                                      @Obsolesce said in Ansible Agent Option?:

                                      Why not have an Ansible server on the same network as the devices and reachable by the Ansible server?

                                      So a full server traveling with every laptop? I get that it could be a VM on top of every Windows's instance, but that seems absurdly complex. And how to you make sure it fires up? And how do you manage hundreds or thousands of "one to one" servers to devices? And if you need a server for each device, does any of it make sense?

                                      ObsolesceO 1 Reply Last reply Reply Quote 1
                                      • scottalanmillerS
                                        scottalanmiller @coliver
                                        last edited by

                                        @coliver said in Ansible Agent Option?:

                                        @Obsolesce said in Ansible Agent Option?:

                                        Why not have an Ansible server on the same network as the devices and reachable by the Ansible server?

                                        From an MSP perspective that can get pretty inefficient and heavy.

                                        Yeah, 1000 users, 1000 servers.

                                        DustinB3403D 1 Reply Last reply Reply Quote 0
                                        • DustinB3403D
                                          DustinB3403 @scottalanmiller
                                          last edited by

                                          @scottalanmiller said in Ansible Agent Option?:

                                          @coliver said in Ansible Agent Option?:

                                          @Obsolesce said in Ansible Agent Option?:

                                          Why not have an Ansible server on the same network as the devices and reachable by the Ansible server?

                                          From an MSP perspective that can get pretty inefficient and heavy.

                                          Yeah, 1000 users, 1000 servers.

                                          In a case like that, does ansible really make sense then? Would salt be easier to setup and maintain, since that is agent based?

                                          1 Reply Last reply Reply Quote 0
                                          • ObsolesceO
                                            Obsolesce @scottalanmiller
                                            last edited by

                                            @scottalanmiller said in Ansible Agent Option?:

                                            @Obsolesce said in Ansible Agent Option?:

                                            Why not have an Ansible server on the same network as the devices and reachable by the Ansible server?

                                            So a full server traveling with every laptop? I get that it could be a VM on top of every Windows's instance, but that seems absurdly complex. And how to you make sure it fires up? And how do you manage hundreds or thousands of "one to one" servers to devices? And if you need a server for each device, does any of it make sense?

                                            Oh, lol... so mobile devices. I missed that bit.

                                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 8
                                            • 9
                                            • 1 / 9
                                            • First post
                                              Last post