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

learn more… | top users | synonyms

-4
votes
0answers
29 views

SSH keys rotation on multiple servers [closed]

I am wondering how to solve over 100 SSH keys rotation on multiple servers, since I would like to keep this task as simple and as short as possible. I was thinking about using Ansible to automate ...
1
vote
4answers
4k views

Is there a way to bind a wireless network to a proxy setting?

We have several wireless networks, some of them, doesn't need a proxy, some of them do. Furthermore, when some of our users go to other places, they need to change their proxies. Most of our users are ...
1
vote
1answer
1k views

Multiple related resources in chef recipe

I need to run some commands depending on a result of previous execution, which again depends on some package being installed. On the first run, I'd expect something like: install package "XXX" get ...
-1
votes
2answers
24 views

Is there a way to automatically fetch latest `openssl version` string?

I have the following check in Serverspec tests: openssl_latest_version = 'OpenSSL 1.0.2h 3 May 2016' describe command('openssl version') do its(:stdout) { should match openssl_latest_version } ...
0
votes
1answer
18 views

How to automate FTP user password updates, on a remote IBM z/OS FTP server?

We wish to solve the business problem of how to schedule automated password updates, on a remote FTP server (note: z/OS) over which we have no administrative control, before the password expires. For ...
0
votes
0answers
36 views

Automate vm creation and configuration with ansible

I am looking at different ways to consistently, quickly and automatically provision and configure linux VMs. I am currently using ansible to configure all my servers. It really is the business. I ...
0
votes
1answer
22 views

Asterisk automatic installation

I recently started a project which I need to automate the installation of Asterisk servers for my customers in AWS infrastructure. Customers already own AWS infrastructure. I was thinking the ...
160
votes
7answers
360k views

How to automate SSH login with password?

How to automate SSH login with password? I'm configuring my test VM, so heavy security is not considered. SSH chosen for acceptable security with minimal configuration. ex) echo password | ssh id@...
0
votes
0answers
8 views

Check files since latest git fetch/git pull

When command git fetch --tags --progress ssh://mygit/repos/repo.git +refs/heads/*:refs/remotes/origin/* is done, there is a following output detected: remote: Counting objects: 21, done. remote: ...
8
votes
5answers
9k views

How do I install a yum package group with puppet?

Does puppet have a way to install a yum package group (e.g. 'Development Tools'), besides exec?
0
votes
0answers
24 views

How can I trigger Windows Update on a large number of servers without special tools

We have a large number of Windows Server 2012 VMs that need monthly updates, but the updates have to happen in a scheduled downtime window. That means we can't just configure the servers to install ...
0
votes
0answers
16 views

How to automate tasks for non-techies like customer support?

Our Customer Support often needs small changes to our system. These are things that a dev does by running a tiny script, but that's out-of-reach for CS. I'd like to be able to make those scripts ...
7
votes
7answers
3k views

How can I automate clearing and resetting a Linux user's home directory to a default?

I'm helping to teach two Unix courses next week. Users will be granted an account on a RHEL 5 machine, during which time they'll add files to their /home folder, update their .bashrc and other ...
0
votes
0answers
74 views

Jenkins 2.x disable initial admin setup

we're using Jenkins as a cron server adding/starting crons via api. We created a vagrant box installing the jenkins. Since version 2.0 jenkins require to create an admin account (link) before disable ...
0
votes
1answer
15 views

Unable to form a link of a file which is in sites-available to a directory sites-enabled in remote server using ansible?

Unable to form a link of a file which is in sites-available to a directory sites-enabled in remote server using ansible? This is command I want to execute using file module of ansible: ln -s /etc/...
0
votes
2answers
787 views

Bringing up EC2 instances with vagrant-aws errors

I'm trying to automate acceptance testing by using vagrant to bring up machines with amazon's EC2 service, so I added the dummy box and copied the Vagrantfile off Github, but when I try to run vagrant ...
1
vote
2answers
90 views

Logging In as a root user to a remote machine using SSH

My problem is similar to this one , I am trying to automate the portion where I can access the remote machine and run a command as super user. It works fine till it logs-in , like from here :- $ ssh-...
7
votes
5answers
4k views

Send message to IRC channel from bash

I have installed ircd-hybrid on my Ubuntu Server (192.168.1.2, example.com). We use #teamchannel to communicate inside the team. The question is: how can I send some short message from example.com to ...
2
votes
2answers
2k views

Automated test suite for linux servers and network devices?

Coming from a development background i'm used to automated (unit) testing before stuff goes live.Now i'd like to use the same approach to (new) linux (and some windows) servers and networkdevices. I ...
1
vote
3answers
1k views

Removing non-present hardware with Devcon?

I'm automating the removal of a USB printer from machines with Windows XP SP3. To do this, I'm using Microsoft's Devcon Utility. Running the command: devcon findall *hp* Returns: USBPRINT\HEWLETT-...
1
vote
2answers
379 views

How to increase heap size for ws_ant.sh when deploying on WebSphere 8.5 (64-bit Linux)

TL;DR -- How do I give ws_ant.sh and/or the <wsInstallApp> task more heap at runtime? I am attempting to deploy a relatively large (~160-MB) EAR file to WebSphere 8.5 running on a 64-bit Linux ...
3
votes
1answer
47 views

How to automate RFC2307 attributes in Active Directory?

How do you automate the population and management of RFC2307 attributes in Active Directory in a scalable and reliable manner now that SFU and IdMU is considered deprecated by Microsoft and won't be ...
4
votes
3answers
3k views

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...
1
vote
0answers
21 views

What do you use to monitor and deploy linux config files? [duplicate]

I'm working in an environment where multiple groups share servers. I was wondering what tools are used to check if configurations files were modified, maybe able to say who modified them, and revert ...
-5
votes
1answer
71 views

cron - How many times the cron job will run when given aterisk(*) on all positions [duplicate]

If we define a cron job with * * * * * /some/task/to/perform, how many times the job will executed in 60 seconds?
0
votes
4answers
438 views

Azure : Script to start or shut down multiple VMs

Is it possible to write and save some kind of script that launches azure powershell, then authenticate azure subscription then start/shutdown multiple VMs in one step? I have 5 VMs that I use ...
17
votes
6answers
21k views

Cygwin SSHd Autoblock Failed Logins

I'm running Cygwin with an SSH deamon on a Windows Server 2008 machine. I was looking at the Event Viewer and noticed as much as 5 to 6 failed login attempts per second (brute force) for the last week ...
0
votes
0answers
10 views

Trigger Builds if OS Security Updates are available

In classic non-cloudy server environments, you have a fixed set of servers. If updates were available, you installed them and were done. In cloudy server-environments, you often auto-scale your ...
1
vote
1answer
34 views

Should I choose language node or python to automate AWS? [closed]

I have been exploring on automating AWS services and which language is preferable to start with? Nodejs or python?. My question: Is it better to start with node or python?
0
votes
0answers
11 views

How to script install of Sophisticated Anti-virus on Linux

Following the Linux start-up guide from Sophos, there is an option to create a deployment package using mkinstpkg. The install.sh script accepts command line arguments in an installOptions file and ...
2
votes
5answers
404 views

Debian preseed.cfg - Language not set

I'm trying to write a preseed.cfg which should be used for a full automated installation of Debian wheezy. For some reasons the installer is still asking to select a lanugage even if I set this in my ...
2
votes
2answers
374 views

How to Power on Remote System Remotely?

Lot's of time I have received call form Developers/QA to Power on their office machine. And I am trying to do R&D on this, Searched over the internet and trying to use the suggested tool in LAN ...
2
votes
2answers
2k views

Add extra module to ansible

I have installed ansible to make automation deploy my system and i need some extra module to work with it. I downloaded module yumrepo.py on ansible github and add it to my library directory. But when ...
0
votes
0answers
316 views

Get-AzureService : ForbiddenError: The server failed to authenticate the request

I am using azure workflow on azure automation and get the template from Azure gallery for "connect the azure using subscription certificate". After Create the connection "Azurec" and upload the ...
5
votes
1answer
3k views

Shared files/templates between cookbooks

We have multiple cookbooks which reference the same files and templates and were wondering if there is a reasonable way to ensure all of these are the same file to ensure that none go out of date. Is ...
0
votes
1answer
80 views

Graceful shutdown of ruby process during windows shutdown

I have a windows 2012 r2 machine with a scheduled ruby process which runs every minute - sometimes exiting after only a few seconds, other times, running for 5 minutes or so. What I am trying to ...
1
vote
0answers
71 views

How to do I create linux VM with ssh public on azure automation

Right now, I am creating Linux VM without public key on azure automation. My aim is to create linux VM with ssh public key on azure automation. How to get ssh public key from "accets" on azure ...
1
vote
1answer
45 views

Automated app-deployment on cloud server

I've been hosting my applications at AWS EC2 and one of these days I tried OpenShift, what I liked of it was that the whole deployment process is automated, but I disliked the pricing since I know ...
3
votes
1answer
50 views

Alternative way to disable cron writing to /var/log/syslog

There are answers that suggest changing this: *.*;auth,authpriv.none -/var/log/syslog #cron.* -/var/log/cron.log Into this: *.*;cron,auth,authpriv.none -/...
0
votes
0answers
53 views

Strategy to use Multiple Cloud Accounts for Ansible Tower Playbooks

The Ansible Tower for Job Templates accepts only one CLOUD Account Credentials. What would be the best way to handle situation like perform DR from AWS Account A to AWS Account B. We can think of ...
1
vote
0answers
32 views

Puppet device wildcard names for nodes?

I'm using Puppet's device management to mange some Cisco devices. Right now my device.conf looks like this: [someCity] type cisco url telnet://puppet:123456@10.123.1.1/ [someOtherCity] type cisco ...
7
votes
3answers
27k views

Adding a user to the local Administrator group using powershell

I would like to use PowerShell to add a specific user to the local administrator group on a machine. I would be running the PowerShell script in the context of a user that has Administration rights ...
2
votes
2answers
2k views

password check in bash script calling on expect

Background: I have to copy a file from one server, to over 100 servers in a test environment. once the file is copied, it requires to have the permissions on the file changed/verified. These are all ...
0
votes
1answer
349 views

Automate the OOBE setup steps for Windows 10

I am not sure if this is possible. I have been reading a bit about answer files but that seems to be more for the actual installation of windows to me. This is the process we currently use: Install ...
9
votes
3answers
8k views

Remotely renaming a domained Win 7 computer

I'm having a hard time figuring out how to rename a Windows 7 computer remotely. This is for automating Win 7 builds in a vSphere 5 environment, and I'm trying to get it as hands-off as I can. So far ...
0
votes
1answer
48 views

Serialization with Ansible with a jumpbox/build-server

We are using a build-server that is delegating_to and deploying the build to the application servers. I am not sure how we are going to "serialize" since everything is being done on the build-server ( ...
6
votes
2answers
217 views

Software for automating Windows GUI applications [closed]

I am looking for software that will allow me to automate some GUI tasks, including clicking on buttons and sending keystrokes to a GUI application running in the foreground. Are there any ...
2
votes
2answers
10k views

Automated extraction of email attachment on Exchange Server

An Exchange email account was created through which I will receive daily emails with three different Excel attachments. Each Excel attachment has to be saved in one of three different folders. Can ...
1
vote
0answers
83 views

pki linux auto enrollment

I have a Windows Offline Root CA. I'm looking for a tool which I can install on my secondary CA to import there a certificate from my ROOT CA and to enable certificates auto-enrollment for non Windows ...
1
vote
1answer
180 views

automatically authorize teamcity agents

We have some TeamCity build agents running and I'd like to destroy and rebuild all agents over night automatically to have a clean set of agents in the morning. Destroying and provisioning the agent ...