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
5
votes
2 answers

How to auto-start MongoDB on CentOS reboot?

How do I setup MongoDB so that it will start back up automatically after a server reboot? This is on CentOS 5.5. I start it with the following command, but if the server reboots, I have to login to SSH and run that again to get it going (not that…
James Simpson
  • 1,651
  • 2
  • 15
  • 31
5
votes
2 answers

MCollective alternative?

I really want to run MCollective on my fleet of servers however there are a large number of untrusted users on each machine which makes using MCollective not ideal in my eyes. I'm aware that there is some things you can do to take precaution but I'm…
WinkyWolly
  • 598
  • 6
  • 19
5
votes
2 answers

Ubuntu Kickstart installation using LVM waits for input

I have a PXE Boot Setup for installing CentOS 5 and Ubuntu 10.04 via Kickstart. I use LVM and installing CentOS without any user interaction works but Ubuntu always asks to "confirm to write changes to disk and configure LVM" during partitioning. If…
Sascha
  • 341
  • 3
  • 10
5
votes
3 answers

How automatically download current versions of popular software? (like Acrobat, Firefox, Opera)

I'd like to provide LAN users access to set of useful and popular applications (like Acrobat, Firefox, Foobar, putty) but there is one problem - such software is released every few weeks or even often. What is best method of automatically…
tomash
  • 216
  • 1
  • 2
  • 7
5
votes
3 answers

Moving to an outside Exchange provider - How to create new Outlook profile on multiple PCs?

Following an acquisition we are switching from our local Exchange to an outside provider. I need to change account settings / create new profile so that users are able to access their new mailbox, and I hate the idea of doing it manually on every…
imagodei
  • 499
  • 1
  • 3
  • 13
5
votes
2 answers

Bulk install new certificates on multiple Windows Server 2016+ endpoints

I have begrudgingly been updating our purchased wildcard certs manually for years and I've had enough now that I've got over 100 web and client servers. The servers are mostly independent and spread across a few different domains, but there are a…
4
votes
2 answers

How to access the Ansible getent module values & put into variable?

I'm attempting to develop an Ansible playbook that uses the getent module to help manage various user accounts. I would like to be able to access the various values like UID, GID, password, etc. (what I think is a Python dictionary -- but am not…
Bryan
  • 71
  • 1
  • 2
  • 6
4
votes
3 answers

Windows Service vs. Task Scheduler with startup trigger

I'm running a desktop application as a service with the help of NSSM (Non Sucking Service Manager), which is a wrapper for applications which aren't made to run as a service to be run as a service. I use an old laptop with Windows 10 as a server by…
user3220145
  • 41
  • 1
  • 2
4
votes
1 answer

What do the 3 numbers mean in manual partitioning of HDD in Ubuntu preseed?

I see in official documentation this: #d-i partman-auto/expert_recipe string \ # boot-root :: \ # 40 50 100 ext3 \ # …
Piduna
  • 541
  • 4
  • 12
  • 25
4
votes
3 answers

How to automatically accept privacy agreement when installing VS2017 via the command line?

As part of managing environments, I want to install Visual Studio 2017 via the command line. However, I'm running into issues installing 2017 that wasn't encountered setting up 2015. Following the documentation I've got a simple Powershell…
JosephRT
  • 141
  • 1
  • 1
  • 3
4
votes
1 answer

Imaging mac fully remote keyboard free?

How can I image a mac remotely over the network with no access to the machine (no keyboard)? UPDATE: We may be having issues with the reboot process after selecting a network boot disk, see edit below. We're learning about mac imaging to manage a…
4
votes
2 answers

How do I find the name of the second NIC using ansible ?

I'm deploying something with Ansible to a Linux host, and I need it to listen only on the second NIC on the host. Looking at the facts available, I can see ansible_interfaces lists all of my NICs, e.g. "ansible_interfaces": [ "lo", …
Anonymouslemming
  • 891
  • 4
  • 15
  • 26
4
votes
2 answers

How to automate sending new public key of SSH server to users?

When the key pair of an SSH server, that is, the keys at /etc/ssh/ssh_host_(rsa|dsa|ecdsa|etc)_key and at /etc/ssh/ssh_host_(rsa|dsa|ecdsa|etc)_key.pub are updated, the SSH users should be notified about the server's new public key. Assuming…
Utku
  • 145
  • 4
4
votes
1 answer

vCenter Prevent VM Deletion

I'm starting to play with automating VMWare vCenter using PyVMomi. I want to take some base images and clone them, do some work on them, then delete them afterwards. However, I'm terrified that I'll code it incorrectly and delete some of our…
omghai2u
  • 315
  • 1
  • 6
  • 15
4
votes
0 answers

Automate the LXD configuration interactive setup?

I realize lxd init has an interactive setup for networking, etc. I'm looking to automate some VM's running LXD and was wondering if there is a nice CLI command that documents this configuration as a command instead of an interactive walkthrough.
coderkid
  • 193
  • 1
  • 5