r/sysadmin • • Nov 28 '20

Is scripting (bash/python/powershell) being frowned upon in these days of "configuration management automation" (puppet/ansible etc.)?

How in your environment is "classical" scripting perceived these days? Would you allow a non-admin "superuser" to script some parts of their workflows? Are there any hard limits on what can and cannot be scripted? Or is scripting being decisively phased out?

Configuration automation has gone a long way with tools like puppet or ansible, but if some "superuser" needed to create a couple of python scripts on their Windows desktops, for example to create links each time they create a folder would it allowed to run? No security or some other unexpected issues?

363 Upvotes

281 comments sorted by

View all comments

Show parent comments

11

u/Noobmode virus.swf Nov 28 '20

So how do you handle GPO in a cloud environment where MS has basically said GPO is legacy? Like an honest question. Is there config state/mgmt in Intune?

1

u/[deleted] Nov 28 '20

GPO's are terrible because group membership is terrible so RBAC and applying policies using groups is terrible, automation is impossible, and theres nothing monitoring the state of policies applied.

So Saltstack or Ansible/AWX are what you'd want to use generally.