Questions tagged [automation]

the field of converting any manual process into one that can be run mostly, or entirely, "hands-free"

Automation is a wide-ranging term, covering topics from cron to "push-button provisioning and deployment" or system and application stacks. The ultimate goal of some automation projects is the so-called "Zero-Latency Data Center", while for others it may just be sending alerts based on certain events. More information can be found here.

638 questions
8
votes
2 answers

How to set only specific nginx server block into maintenance mode programmatically

I am looking for a solution to automate one of our application's deployment process. In the beginning of deployment, I would like to programmatically set the specified server into maintenance mode and finally after the deployment has been completed,…
Ville Mattila
  • 459
  • 7
  • 13
8
votes
5 answers

How to automate slipstream?

Since years I use slipstreamed Windows installations. This works very well, but preparing them is tedious : 1 - install a Windows with the last slipstreamed version we have (automated install) 2 - check Windowsupdate to see what's new, and take…
Gregory MOUSSAT
  • 1,673
  • 2
  • 25
  • 50
8
votes
3 answers

Start services.msc attached to remote computer

Is there a way to start services.msc already attached to a remote system (e.g. from command line)? I want to avoid clicking Action -> Connect to remote computer, because I have to do it so often...
jan bernlöhr
  • 1,503
  • 3
  • 12
  • 16
8
votes
1 answer

What does /v/qn parameter do for windows silent installers?

This page says to do a silent install you pass in the parameters /s /v/qn. It mentions what /s does - silent install - but not what /v/qn does. So what does it do? Why the weird format? (on one installer I tried /v /qn (with a space) and it didn't…
Claudiu
  • 1,207
  • 5
  • 21
  • 28
8
votes
1 answer

FreeBSD `freebsd-update` automation?

freebsd-update command prints updating entries after it downloaded. But it shows them with more. So I have to press some spaces to continue. Is there a way to avoid this behavior? I want to execute update fully automated manner.
Eonil
  • 10,459
  • 16
  • 36
  • 54
8
votes
3 answers

Deploy our own software using Puppet?

(Apologies in advance for the stupidity in this question. I'm normally a programmer, not a sysadmin, but I've taken it upon myself to automate some things, and clean up some other things which are automated but not in the prettiest way. :-) I've…
Ken
  • 81
  • 1
  • 2
7
votes
2 answers

How to change assigned letter for Ephemeral drives automatically?

I have an AWS Windows box (Windows 2008 R2) with the following disks: C:\ 60 Gb (EBS) D:\ 200 Gb (EBS) Y:\ 40 Gb (Ephemeral SSD) Z:\ 40 Gb (Ephemeral SSD) Every time it boots I change ephemeral drives to D: and E: and EBS drive to Z:. Some times…
Oscar Foley
  • 332
  • 4
  • 18
7
votes
3 answers

Creating a script to install a Perl application and its dependencies automatically

I have a Perl application that needs a lot of dependencies that i need to deploy on numerous servers I would like to make a script that installs that Perl application automatically and quickly. To be faster, i want to install most of my dependencies…
Vincent Membré
  • 406
  • 2
  • 9
7
votes
3 answers

How to copy many Scheduled Tasks between Windows Server 2008 machines?

I have several standalone Win2008 (R1+R2) servers (no domain) and each of them has dozens of scheduled tasks. Each time we set up a new server, all these tasks have to be created on it. The tasks are not living in the 'root' of the 'Task Scheduler…
Peter Hahndorf
  • 14,058
  • 3
  • 41
  • 58
7
votes
4 answers

Perl or Python, better suited for Unix system automation?

I have been using bash for most of my system administration tasks. I also know a bit of perl. Should I learn Python or Perl is better for system automation. So far from my experience learning perl has been easy.
nitins
  • 2,579
  • 15
  • 44
  • 68
7
votes
6 answers

easiest way to automate all software installations for new users/computers?

Basically, for every new user we have about 30 different installers that all need to be run manually after an install of windows which is tedious/time consuming. We can't simply ghost/image the computers as they come because of the wide variety of…
sorrrydoctorforlove
7
votes
5 answers

Secure method of changing a user's password via Python script/non-interactively

Questions Is there a more secure/better way for setting a user's password non-interactively via a Python script? My current solution uses chpasswd from a Fabric script. Another option would be to use Pexpect from within the Fabric script. Is my…
Matthew Rankin
  • 1,175
  • 5
  • 15
  • 32
7
votes
4 answers

How to do mysql_secure_installation via ansible playbook?

I managed to install Apache Mysql/Mariadb and PHP using playbook. How can I do mysql_secure_installation using ansible? I am a beginner in Ansible. I want to set a new password to MySQL server and complete all security questions via playbook.
Prince Joseph
  • 71
  • 1
  • 1
  • 3
6
votes
5 answers

How do you optimize new user setup?

What's your top trick for getting a new employee set up quickly? Do you use images, scripts, something else?
Jon Galloway
  • 1,506
  • 1
  • 17
  • 20
6
votes
2 answers

How to merge variables of type hash across different variable files in ansible?

I have two YAML variable files which are reused for many playbooks: # playbook/group_vars/all settings: a: 1 b: 2 # inventory/group_vars/main.yml settings: c: 3 I want settings to be equal { a: 1, b: 2, c: 3 } in my playbooks. Instead it…
Jason Holcomb
  • 63
  • 1
  • 1
  • 5
1 2
3
42 43