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

    Easier guide to setup Salt Stack/Ansible for Windows environment ?

    Scheduled Pinned Locked Moved IT Discussion
    33 Posts 6 Posters 2.6k Views
    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.
    • scottalanmillerS
      scottalanmiller @openit
      last edited by

      @openit said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

      How about setting up Salt Stack server or master ?

      I believe it's only available for Linux ?

      Same code that the Minion uses, so you just saw it downloaded for Windows. Of course, running it on Windows is pretty silly. But it will work just fine.

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

        Deploying a Salt Master.

        https://mangolassi.it/topic/11812/installing-salt-master

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

          @openit said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

          any demo VM will great 😉

          Salt is SO easy, a demo VM would actually make it harder.

          openitO 1 Reply Last reply Reply Quote 0
          • openitO
            openit @scottalanmiller
            last edited by

            @scottalanmiller said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

            @openit said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

            @scottalanmiller said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

            Salt is all agent based, you can get around it, but the design of the system is for agents.

            Great. I like agent based one than agentless.

            Me too, agentless is so prone to error and relies on LAN-centric thinking in most cases.

            Yeah, I feel agent based are more reliable.

            Also, I have seen somewhere in ML that in comparison to AD with SS, someone mentioned SS is good even Lanless. Not sure what is Lanless ?

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

              @scottalanmiller said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

              @openit said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

              @scottalanmiller said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

              Salt is all agent based, you can get around it, but the design of the system is for agents.

              Great. I like agent based one than agentless.

              Me too, agentless is so prone to error and relies on LAN-centric thinking in most cases.

              Could you elaborate LAN-centric ?

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

                @openit said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                Also, I have seen somewhere in ML that in comparison to AD with SS, someone mentioned SS is good even Lanless. Not sure what is Lanless ?

                LANless, meaning "without a LAN." Or "not depending on a LAN." Could be written "sans LAN."

                Youtube Video

                openitO 1 Reply Last reply Reply Quote 1
                • scottalanmillerS
                  scottalanmiller @openit
                  last edited by

                  @openit said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                  @scottalanmiller said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                  @openit said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                  @scottalanmiller said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                  Salt is all agent based, you can get around it, but the design of the system is for agents.

                  Great. I like agent based one than agentless.

                  Me too, agentless is so prone to error and relies on LAN-centric thinking in most cases.

                  Could you elaborate LAN-centric ?

                  Requiring, depending on or "assuming" a LAN. An agentless system would require that the systems to be managed be exposed in ways you would not want to do on the public Internet - therefore depending on a LAN for security. Something you cannot do with modern hosted systems.

                  1 Reply Last reply Reply Quote 0
                  • openitO
                    openit @scottalanmiller
                    last edited by

                    @scottalanmiller said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                    @openit said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                    Also, I have seen somewhere in ML that in comparison to AD with SS, someone mentioned SS is good even Lanless. Not sure what is Lanless ?

                    LANless, meaning "without a LAN." Or "not depending on a LAN." Could be written "sans LAN."

                    Youtube Video

                    Wow, that's you @scottalanmiller 🙂 , will take some dedicated time later to watch it.

                    scottalanmillerS 1 Reply Last reply Reply Quote 1
                    • openitO
                      openit @scottalanmiller
                      last edited by

                      @scottalanmiller said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                      @openit said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                      any demo VM will great 😉

                      Salt is SO easy, a demo VM would actually make it harder.

                      Oh okay, I will give a try with above article if that's the case.

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

                        @openit lol, yet that is me.

                        1 Reply Last reply Reply Quote 0
                        • openitO
                          openit @scottalanmiller
                          last edited by

                          @scottalanmiller said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                          Deploying a Salt Master.

                          https://mangolassi.it/topic/11812/installing-salt-master

                          Done with steps (CentOS 7) from above article and rebooted, next what ?

                          I am expecting to open the browser, entering ip with some specific port to login Salt Master and play with it 🙂

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

                            @openit said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                            @scottalanmiller said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                            Deploying a Salt Master.

                            https://mangolassi.it/topic/11812/installing-salt-master

                            Done with steps (CentOS 7) from above article and rebooted, next what ?

                            I am expecting to open the browser, entering ip with some specific port to login Salt Master and play with it 🙂

                            There is no browser to see. You don't really interact with the Salt Master. All you really do is provide it with state files and either tell it to apply them manually or set it to do it on a schedule. I run mine to apply all states every fifteen minutes.

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

                              Salt has no interface. Running a Salt state file is as simple as...

                              salt '*' state.apply
                              
                              openitO 1 Reply Last reply Reply Quote 0
                              • StrongBadS
                                StrongBad
                                last edited by

                                It's all about the text files 🙂

                                openitO 1 Reply Last reply Reply Quote 1
                                • openitO
                                  openit @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                                  Salt has no interface. Running a Salt state file is as simple as...

                                  salt '*' state.apply
                                  

                                  I see.

                                  1 Reply Last reply Reply Quote 0
                                  • openitO
                                    openit @StrongBad
                                    last edited by

                                    @StrongBad said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                                    It's all about the text files 🙂
                                    @StrongBad @scottalanmiller
                                    So maybe I am not looking for something I need to play with Text files or Command lines only 😞

                                    Do we have any GUI (web or desktop app) option is this category ?

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

                                      @openit said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                                      @StrongBad said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                                      It's all about the text files 🙂
                                      @StrongBad @scottalanmiller
                                      So maybe I am not looking for something I need to play with Text files or Command lines only 😞

                                      Do we have any GUI (web or desktop app) option is this category ?

                                      I know of a developer here in Dallas that is working on a Salt GUI. Ansible has Tower, which I have not used but I know of people who really like... I'll tag @stacksofplates here.

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

                                        A GUI for this sort of thing is a bit difficult because you have to figure out what you would want a GUI to do. Certainly GUIs are possible, but the nature of state systems makes GUIs both difficult and not as useful as with many other things. For example, a task like state.apply is so trivial at the command line that sure, you could make a button for that, and I know people who have, but it's not very valuable. I keep that command in my command history and have it run before a GUI would even load - so the GUI isn't useful enough there and would take too much effort to install or access.

                                        For other tasks, like package lists, what value would a GUI bring? Would it list millions of possible packages that you have to scroll through to check box? Would it be GUI that just makes you type in the list the same as you would without a GUI? The GUI could make a check box list for your machines to which to apply the packages, but the same issues would apply - either the list is super short and the GUI pointless or the list is long and the GUI cumbersome.

                                        Don't get me wrong, there are reasons for a GUI, but I think any really powerful GUI, beyond some really basic functionality, will end up dictating how and what you can do and become a platform of its own.

                                        stacksofplatesS 1 Reply Last reply Reply Quote 2
                                        • stacksofplatesS
                                          stacksofplates @scottalanmiller
                                          last edited by stacksofplates

                                          @scottalanmiller said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                                          A GUI for this sort of thing is a bit difficult because you have to figure out what you would want a GUI to do. Certainly GUIs are possible, but the nature of state systems makes GUIs both difficult and not as useful as with many other things. For example, a task like state.apply is so trivial at the command line that sure, you could make a button for that, and I know people who have, but it's not very valuable. I keep that command in my command history and have it run before a GUI would even load - so the GUI isn't useful enough there and would take too much effort to install or access.

                                          For other tasks, like package lists, what value would a GUI bring? Would it list millions of possible packages that you have to scroll through to check box? Would it be GUI that just makes you type in the list the same as you would without a GUI? The GUI could make a check box list for your machines to which to apply the packages, but the same issues would apply - either the list is super short and the GUI pointless or the list is long and the GUI cumbersome.

                                          Don't get me wrong, there are reasons for a GUI, but I think any really powerful GUI, beyond some really basic functionality, will end up dictating how and what you can do and become a platform of its own.

                                          Ya I can't speak for the Salt GUI but Tower doesn't write your playbook for you. It's just a GUI for scheduling runs, adding extra variables, auditing, etc. You can run ad-hoc commands from it so you only need one audit location and one user on remote machines.

                                          But with tower-cli, I think most people that use the GUI are auditors.

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

                                            @stacksofplates said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                                            @scottalanmiller said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:

                                            A GUI for this sort of thing is a bit difficult because you have to figure out what you would want a GUI to do. Certainly GUIs are possible, but the nature of state systems makes GUIs both difficult and not as useful as with many other things. For example, a task like state.apply is so trivial at the command line that sure, you could make a button for that, and I know people who have, but it's not very valuable. I keep that command in my command history and have it run before a GUI would even load - so the GUI isn't useful enough there and would take too much effort to install or access.

                                            For other tasks, like package lists, what value would a GUI bring? Would it list millions of possible packages that you have to scroll through to check box? Would it be GUI that just makes you type in the list the same as you would without a GUI? The GUI could make a check box list for your machines to which to apply the packages, but the same issues would apply - either the list is super short and the GUI pointless or the list is long and the GUI cumbersome.

                                            Don't get me wrong, there are reasons for a GUI, but I think any really powerful GUI, beyond some really basic functionality, will end up dictating how and what you can do and become a platform of its own.

                                            Ya I can't speak for the Salt GUI but tower doesn't write your playbook for you. It's just a GUI for scheduling runs, adding extra variables, auditing, etc. You can run ad-hoc commands from it so you only need one audit location and one user on remote machines.

                                            But with tower-cli, I think most people that use the GUI are auditors.

                                            And that is the kind of stuff that I think is being worked on for Salt. You could have a handy web editor for the files or something. You could maybe have it automatically make folder hierarchies for you and auto-sync to GIT and stuff like that, but it would be pretty basic.

                                            I use an Atom editor and a one line GIT commit command and the combination makes a GUI pretty much unneeded. The whole Salt hierarchy is presented in a GUI on the left and I have a modern editor for complex files.

                                            stacksofplatesS 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post