Easier guide to setup Salt Stack/Ansible for Windows environment ?
-
@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.
-
Deploying a Salt Master.
-
@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.
-
@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 ?
-
@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 ?
-
@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."
-
@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.
-
@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."
Wow, that's you @scottalanmiller , will take some dedicated time later to watch it.
-
@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.
-
@openit lol, yet that is me.
-
@scottalanmiller said in Easier guide to setup Salt Stack/Ansible for Windows environment ?:
Deploying a 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
-
@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.
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.
-
Salt has no interface. Running a Salt state file is as simple as...
salt '*' state.apply
-
It's all about the text files
-
@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.
-
@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 onlyDo we have any GUI (web or desktop app) option is this category ?
-
@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 onlyDo 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.
-
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.
-
@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.
-
@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.