Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [automation]

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

Filter by
Sorted by
Tagged with
-2 votes
0 answers
10 views

How to change IP address of azure NIC, as soon as azure load-balancer's health probe detect instance unhealthy?

I have two machines in backendpool of azure LB, I would like to update network interface usign rest api as soon as health probe detects vm is unhealthy. is there any way to to recoginse that event ...
user avatar
-1 votes
0 answers
20 views

looking for a tool to send mail if content of file is NOT changed within 10 minutes [closed]

just spend some hours to figure out a way to save a specific part of an API answer: curl --request GET --url "https://APIrequest" > first && cat first | tr ',' '\n' > fline &...
user avatar
0 votes
2 answers
26 views

Is it possible to run automated tasks when users are added to Active Directory?

we are looking to perform some automatic tasks when users are added and removed to active directory. When users are added, we would like to run a python file that would add that user to another ...
user avatar
0 votes
3 answers
69 views

Mass administration in Linux [closed]

I am curious if Linux have anything close to what PowerShell can do when come to managing servers in Enterprise? For example, retrieving server's information on a big scale and also making changes.I ...
user avatar
0 votes
2 answers
44 views

creating a linux local update mirror (cache) and automating it

Hi i run a few different linux distributions and architectures and have some from server so slow that they update in KB/s for example with ubuntu on ARM. I'm learning up automation, how would i go ...
user avatar
1 vote
1 answer
199 views

Why running second time ansible.windows.win_package isn't working?

I have a product that I can install it first, then update it - meaning to add more feature to my base product I do it by execute the MSI first time, then going to Add \ Remove Programs and when ...
user avatar
  • 67
0 votes
1 answer
43 views

How to keep a Python app running?

My problem is that i want to keep a Python app running, but it stops every 2-3 days. Is there a way to autorestart the .py when it stops. Is there a way to monitor that? Probably there is but i can't ...
user avatar
0 votes
0 answers
15 views

Error trying to create an start automatic using "Start Virtual Machine" template

I've created a template but trying to change it or creating a new one; I receive the msg below: The template validation failed: 'The value for the workflow parameter 'EmailID' at line '1' and column '...
user avatar
0 votes
1 answer
27 views

Optional sysctl configuration parameters

I am working on some automation that sets linux kernel parameters using sysctl. Specifically I am creating a template that can be deployed to systems with a high amount of connections. The automation ...
user avatar
0 votes
0 answers
42 views

Can I detect the event of a VM being shutdown on the OS level in Azure?

When I shutdown a VM (Linux/Windows) in Azure it is still being billed until I explicitly deallocate it. I want to automate the deallocation after manual shutdown. To achieve this, I need to identify ...
user avatar
  • 280
0 votes
0 answers
57 views

Stop/Start Azure VMs Using Hybrid Runbook

I currently have runbooks that stop/start VMs on a schedule but recently the runbook to start vms is stopped because it takes too long to complete. The following message is thrown - "The job has ...
user avatar
  • 578
0 votes
0 answers
25 views

How do you automate the setup/configuration of Security onion 2?

When installing Security Onion the older 16.x docs say: You can automate the Setup process using sosetup.conf but this section is omitted in the newer 2.x docs. The latest /securityonion/setup/...
user avatar
  • 139
2 votes
3 answers
92 views

Is there a minimal aws cli installation?

Sometimes I'd like to spin up an instance and run an aws cli command on it quickly, but there seems to be a great delay in installing the aws cli. Is there any way to get a "minimal" ...
user avatar
0 votes
1 answer
507 views

Best way to do simple new employee laptop setup for Windows 10/11 without Windows Server or cloning

(Recommended I move here from SuperUser) I ran a few Windows based labs over a decade ago, past few years I've mostly been managing Macs and systems in AWS and GCP. Right now the company is hiring a ...
user avatar
0 votes
1 answer
31 views

Importing in terraform

So i want t import an application load balancer under the terraform management, i managed to add some of it's attributes like cross-region and delete protection, global accelerator etc, and i imported,...
user avatar
  • 99
0 votes
1 answer
157 views

Automate the creation of secondary mailbox in Outlook 2016

I allow myself to do this post in order to have your help. I am currently looking for a solution to automate the addition of a secondary mailbox in Outlook 2016. I saw a lot of stuff including the &...
user avatar
  • 1
0 votes
1 answer
61 views

Manage Services within Azure VM from Automation Runbook

I'm looking to use Azure Runbooks (powershell) to automate the shutdown/startup process of a few Azure virtual machines. The VM's are running 3rd party reporting tools, some of which take a few ...
user avatar
  • 578
0 votes
0 answers
27 views

how to launch a script using an alert in gcp?

I want to generate an alert in Monitoring and Login and I want that when that alert is triggered, my script is executed (which I already have generated in my cloud repository), how could I do it?
user avatar
  • 1
4 votes
2 answers
167 views

Infrastructure - management - Is moving from custom code base in place to Ansible worth it?

Some background: When I started at my current work place ( in server infrastructure ), a bash, perl and python code base already was in place for remote executing jobs on linux systems, the one guy ...
user avatar
1 vote
1 answer
1k views

Ansible - I need to check given services are running in target windows host and if not running need to start the service

First, I check the list of windows process are running and collect the output into a register variable. next I need to start the service which are not running based on the above output(register). - ...
user avatar
0 votes
0 answers
17 views

Is there an automation tool for shutdown or start several containers at once?

I am a developer who works with different environments, therefore I have the need the constantly "down" and "up" several differents containers in my local machine (also to prevent ...
user avatar
0 votes
0 answers
104 views

Automatically updating the CRL for pfSense

I want to be able to automatically update the certificate revocation list on a virtual pfSense server running OpenVPN. I don't want the certificate authority to be on the same vpn server, but if ...
user avatar
  • 365
0 votes
0 answers
72 views

Jenkins remote build agent build and return artifact to master?

I currently have a master node (Linux host) set up, which is not defaulting to do any building, and a remote build node (Linux host) set up that performs builds. My artifacts are building on the ...
user avatar
2 votes
1 answer
324 views

Get-ADComputer with ANY filter not working (module loaded)

I have spent many hours on this and engaged a number of people I know to be PowerShell experts without any luck. It should be simple but it is definitely not working out that way this time. Objective: ...
user avatar
0 votes
0 answers
14 views

vra how to use single blueprint for multiple endpoint / multiple VCs

we have a multiple VC across locations and all VCs integrated with VRA. Right now we are creating a separate BP for each VC and that leads to lot of issues. how I can use same BP for all VCs. is ...
user avatar
  • 317
0 votes
1 answer
41 views

is there any deployment automation software that can create an encrypted vm in esxi?

I recently felt the need to encrypt my esxi vms and tried to find some way to do it with terraform but couldn't find an option for that in the documentation so I looked into ansible , chef with no ...
user avatar
0 votes
0 answers
22 views

Scripting Workflows - Organisation admin

Within our organization, we already have great success using Ansible workbooks to bootstrap our servers. My question, is it best to use ansible workbooks to bootstrap organization tasks or is there an ...
user avatar
0 votes
1 answer
29 views

Massively run scripts on Azure machines

We have a large Azure infrastructure to maintain. The Azure Security Centre reported a number of security configuration issue (problem X) that we have to mitigate. Some of them are quite easy to ...
user avatar
-1 votes
3 answers
1k views

Adobe Reader DC automated install using PowerShell

I wanted to automate the installation of Adobe Reader DC using an existing executable file (AcroRdrDC1501020060_en_US.exe) present in my local computer with a PowerShell script in non-interactive ...
user avatar
4 votes
2 answers
2k views

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 ...
user avatar
1 vote
1 answer
566 views

Azure Runbook Fails to Connect - "Confidential Client is not supported in Cross Cloud request."

I'm working in a Azure Gov tenant. I created an Azure Automation account so I could use it to scale down web apps on the weekend using a powershell runbook. I'm using the code below to authenticate ...
user avatar
  • 578
-5 votes
1 answer
72 views

How do production web applications make backups? [closed]

So, I'm almost finished building my first major production web app, and am wondering how to manage the backup protocol. Cold backups via my hosting control panel seem ideal - but daily downtime sounds ...
user avatar
0 votes
0 answers
50 views

How to warn someone of a script failure, without email?

I have a script that does hourly backup and sign-encrypting of my Keepass DB on my headless Mac Mini with this code : #!/bin/bash DATE=$(gdate +"%d%m%y_%H%M") LDATE=$(gdate --rfc-3339=...
user avatar
0 votes
0 answers
167 views

automated http post with python 3 doesn't work unless user logs in

I have a script written in python 3 that is designed to send a file to our web server via HTTP POST. It's running on a Windows VM on my customer's infrastructure. I have compiled the python script ...
user avatar
0 votes
1 answer
575 views

Jenkins vs shell scripts

why would Jenkins get a different result from shell scripts(redhat 7) alone? I have shell scripts that run fine if I execute them from a terminal, however when I run the scripts from Jenkins they get ...
user avatar
0 votes
2 answers
99 views

Does Ansible offer a way to build/compile on the control node, and then deploy to managed nodes?

Is there any way to have Ansible run a build script locally on the control node, and then deploy the resulting artifact to various managed nodes? Please let me know if there's something I've missed, ...
user avatar
  • 137
1 vote
0 answers
61 views

Add a domain user profile to a machine following offline domain join (DJOIN.exe)

I work for an MSP. I have made an automation script within our RMM system (Connectwise Automate) which when ran on a device will find a domain controller within the same Client container as the device,...
user avatar
1 vote
0 answers
199 views

Initramfs - Set hostname from custom initrd script

In our company, I'm creating an Ubuntu Autoinstaller (v. 20.04). For some company reasons, its required modify initramfs. (initrd file). I'm created a script, and added a link to init file in main ...
user avatar
2 votes
0 answers
46 views

Deploying docker instances based on user input

I have a use case where I would like to automatically deploy some services (say 2-3) whenever a user signs up. The services are available as pre-built docker images that are the same for all users, ...
user avatar
-1 votes
1 answer
2k views

How to expose passwords/secrets in Ansible playbook

I have a simple Ansible playbook to Fetch a database connection config from an RestAPI, Extract the config object from the payload, Using the config JSON (as request body) to create a PUT request to ...
user avatar
  • 99
0 votes
0 answers
51 views

How to automate a task on a server and upload output to an FTP server?

I have a process that works in the following way: downloading data from the internet. executing a program → creating output A. output A → executing a program → creating output B output B → executing ...
user avatar
0 votes
1 answer
36 views

automated creation of a configuration file with ansible (or something else)

I have to create a pipeline in order to automate creation-deployment and update configuration file for network devices (switch-routers-firewall, mostly cisco). There's many ways i think to do the job ...
user avatar
1 vote
1 answer
21 views

Unsure how to proceed from DigitalOcean droplets and CircleCI deployments to just automating the whole setup

I work within a small dev team and our current infrastructure is setup with GitHub for code, CircleCI to deploy these to our DigitalOcean Ubuntu droplets whenever something is merged into the develop ...
user avatar
  • 11
0 votes
0 answers
971 views

Correct way to run scripts in automated, unattended Windows installation

I have some custom scripts that I have written to customise Windows 10 such as removing bloatware and setting file explorer options via Registry Editor that I use to apply to all users and/or the ...
user avatar
0 votes
1 answer
4k views

Reize LVM volume with ansible

Short version: how do you resize/extend a logical volume with ansible? It includes built-in support for managing both physical volumes and volume groups and logical volumes. Based on the following ...
user avatar
  • 363
0 votes
1 answer
97 views

Automating the downloading of data from a website

I am writing a powershell script to extract data from OpenStreetMap automatically for a country. My whole script is written, but not quite functional. My script below: $ie = New-Object -ComObject ...
user avatar
0 votes
2 answers
155 views

How do I replicate a Cinnamon window manager configuration?

I have a master Linux computer with several Cinnamon window manager options set. How can I replicate this setting to a new machine?
user avatar
0 votes
0 answers
35 views

Keep LibreOffice up-to-date

we have a terminalserver where we want to work with LibreOffice. The problem is that I don't exactly know how I can keep it automatically up-to-date. Is there like an update.exe I could run on server ...
user avatar
  • 113
0 votes
2 answers
98 views

NTP sync over 500 devices

Daylight Saving Time is coming soon so I would like to face with problem with NTP. I've got around 500 devices which should be synchronized through NTP. DST is good oportunity to perform it becouse of ...
user avatar
  • 31
0 votes
1 answer
3k views

How to run jenkins build, in multiple servers with ssh-key

Trying to figure out how can I run a Jenkins build on multiple servers with my ssh-key connection. For now I used SSH remote host plugin, but this plugin is good for 1,2,3,4.. servers and not for 100+....
user avatar

1
2 3 4 5
13