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

learn more… | top users | synonyms

0
votes
1answer
22 views

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

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
9 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 ...
0
votes
0answers
5 views

Mail service with API to automate setup of new domains & email accounts? [closed]

I'm thinking about not running my own mailserver. However, I'm building a service which is a sort of a site-builder. So people can register their own domains and I would like to give them the ...
2
votes
2answers
325 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 ...
0
votes
0answers
32 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 ...
0
votes
4answers
66 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 ...
1
vote
0answers
45 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
2answers
171 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
1answer
50 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
1answer
36 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
34 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
16 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
27 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 ...
0
votes
1answer
29 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 ( ...
0
votes
1answer
134 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 ...
1
vote
0answers
43 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
30 views

Update production Server and Automation [closed]

I would like to clear that i am not a sysadmin pro in any way, and maybe my question is answered already, but as long as i searched on google/serverfault/SO i didn't find anything similar. Let's say ...
0
votes
1answer
70 views

Elevating user to root with Ansible

How to elevate Ansible to root for running playbooks? The thing is that the server I want to provision has root access disabled and the only user that has login access has absolutely no permissions to ...
0
votes
1answer
71 views

VM template which automatically joins Rancher environment

I would like to create a VM template (vSphere specifically) that, when used to create a new instance, will automatically join an existing Rancher environment. I tried running the command from the ...
1
vote
1answer
40 views

Running “find” and piping the output to “wc”/“sort”, inside an outer “find -exec”

I've a folder used by imapsync to store its own cache. Such a folder contains a subfolder for each of the mailbox I'm syncing, and nothing more: [dv@monitor] find * -maxdepth 0 -type d | wc -l 126 ...
0
votes
1answer
20 views

Adding items from the monitored node?

We're running a system that is distributed over several servers monitored by Zabbix. Different parts of the service can be dynamically configured to different nodes, and each part has a distinct ID. ...
1
vote
1answer
47 views

Powershell: Does ADDSForest promote a new domain controller, and if so, does that mean that ADDSDomainController does not need to be used?

I have noticed that installing ADDSForest in powershell will prompt for the domain name and a password, and promotes the domain controller, creating a forest and a domain controller in AD. Can I use ...
2
votes
2answers
54 views

Once Roles and Features have been added using Powershell, how can they be configured?

When adding roles and features using the GUI, there are a few extra steps which let you do some extra configuration. For example, when installing WSUS there are a few steps labeled "Role Services" and ...
6
votes
3answers
440 views

Is it possible to create a generalized configuration file for installing Windows features using PowerShell?

I'm currently trying to automate the build of a VM running Windows Server 2012 R2. At the moment the challenge is automating the addition of roles and features. Within the roles and features wizard ...
0
votes
0answers
6 views

Maintain and version controll config- and SQL scripts

I'm looking for recomandations of handling variouse config scripts for a few databaseservers. The scrips fall into the following categories: OS Config scripts and files, such as crontab for multiple ...
2
votes
2answers
353 views

GitLab Automatic deploy

I will be creating a gitlab server at my school to host class code. I wish to make it so that every time any user pushes to gitlab it automatically deploys the project to ...
0
votes
3answers
102 views

automate generation of SSL certificates

How I can automate the generation of self signed certificates when I know the domain name ? This works, but it asks me on the command line prompt certain questions. How I should change it to ignore ...
0
votes
1answer
80 views

Automated mail processing in Zimbra

The task: upon arrival an email from (specific address) to (specific address), the message must be parsed and some actions must be done. To be more specific. One of our personnel accounting software ...
0
votes
0answers
55 views

Cloud-Init with pre-populated runcmd

I'm using CentOS 6.5 with cloud-init installed from the main repo. I want to use cloud-init but only provide the instance name in my user data, and have other settings (like runcmd) alaready ...
1
vote
1answer
70 views

Kerberos master server to slave server automation?

I've set up Kerberos in my workplace running on Centos 6 boxes, and successfully propagated the master server database to the slave and also set up a cron job to update it automatically every 5 ...
0
votes
0answers
64 views

How do dynamically get the hostname of another machine in hiera?

I have a few machines, one of those has the class dbserver assigned via ENC. The other machines run software which need the DB. Now I want to configure this software to be able to connect to the DB. I ...
0
votes
1answer
182 views

Debian/Installer Preseed Remove Post Install Kernel Options + Multi NIC Preseed Tip

In light of recent automation trends, I would like to be able to fully automate an install of Ubuntu. My my first problem was auto selection of the bootif with multiple NICs break Ubuntu/Debians ...
0
votes
0answers
30 views

CentOS 7 Automated SSL Generation from Active Directory

I have an Active Directory Server setup for Certificate Services. I am able to manually generate certs as needed. However, I need to find a way to automate the sending of the cert request to AD and ...
1
vote
1answer
110 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 ...
0
votes
1answer
115 views

Add existing hosts to hostgroups in Nagios

How can I add existing Hosts to HostGroups in Nagios XI, automatically? For example, I have an existing 100+ Windows servers that I want to add to a hostgroup called "Windows".
2
votes
2answers
1k 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 ...
2
votes
5answers
296 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 ...
1
vote
1answer
282 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
3answers
7k views

Use Script To Edit Local Group Policy Windows Server 2012

I'm hardening a Windows Server 2012 R2 machine for serving secure web pages and following a guide that lays out multiple Local Group Policy Settings and Registry Settings. When researching how to ...
1
vote
0answers
57 views

Process-wide VPN connection via openconnect

I'm using openconnect to connect to a remote endpoint and SSH onto the machine inside the remote network. The problem is, when I do create the connection, the machine I do it on is unresponsive for ...
3
votes
1answer
141 views

Procurve script/automation

This may be a stupid question, but I'm normally not a network admin, but circumstances have me there. I'm trying to disable down ports on a switch, but have a boatload of them, I'd like to configure ...
1
vote
2answers
315 views

How risky is storing credentials on disk in a Powershell SecureString?

Basically, I want to cache the credentials needed for New-PSSession and make them available to scripts so they don't have to nag a human. If I use export-clixml or similar to store a PSCredential on ...
0
votes
0answers
439 views

How to download files from my MSDN subscription using Powershell? [duplicate]

In order to install Microsoft software in my Azure labs, I'd like to grab the ISO files directly from Microsoft, as speed is so much better than downloading from my own repository. One example is ...
0
votes
2answers
137 views

using powershell ; from a given location a of folder i want to validate and show the number of specific filetypes respective folder

Using powershell from a given location a of folder I want to validate and show the number of specific filetypes respective folder. I tried using the command to count the number of files in a folder I ...
0
votes
1answer
172 views

Trouble with embedding html email with PowerCLI/Powershell for gmail

I am new to Powershell, I am a junior admin for a VMware environment. I am trying to automate a weekly report for snapshots in PowerCli. I am making the script in Powershell. I have made a simple ...
0
votes
1answer
232 views

How to automate input for a repetitive script! Expect in Bash?

I am a junior sys admin. Reason I'm asking this question is because we don't have a senior sys-admin here who is proficient with scripting. Senior guys are at the head office and too busy for ...
6
votes
1answer
854 views

How can I modify an existing scheduled task using Powershell?

I am working on some release automation scripts that use Powershell to update existing scheduled tasks which execute various applications. In my script, I can set the Path and Working Directory of the ...
0
votes
1answer
100 views

Recommended way to update config values in an automated way?

To give some context, I have a build server task that requires updating a configuration file (in yaml format) field value and pushing to a repo to be used later.My immediate thought was to use some ...
3
votes
1answer
796 views

Configuring Pfsense via ssh

I want to know how i can completely configure and add add tables to pfsense via ssh. my goal is to have a web installer that configured multiple system and based on the output it will configure the ...
2
votes
1answer
174 views

Restarting HP 1810 without writable SNMP?

I have been tasked with finding a way to reboot all of my switches for a bunch of small satellite sites every night when everyone is gone. I have HP 1810-26G switches at most of the sites, which is ...