As of May 31, 2023, we have updated our Code of Conduct.

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
1 vote
1 answer
22 views

Linux, do I need if, else, or statements to accomplish automation of compiling programs from source [closed]

I am wondering what would be the best way to write a bash script to install packages from source, would it even be needed to go in depth with how to automate the task? For example let's say I want to ...
Hosting wiz's user avatar
0 votes
0 answers
11 views

Can I run Cloud Automation (azure/aws) for web apps in background doing other manual work parallel?

my goal is to automate some tests for a web app and in parallel do some other staff manually (like writing code locally or research or writing reports) and don't collide with it. I used softwares like ...
Antwnina's user avatar
0 votes
0 answers
20 views

Can't get Winlogon automatic restart sign-on (ARSO) to work on a specific machine

I'm trying to get Windows ARSO to work on a machine but am unable to. (Windows 10 Pro 22H2) It runs on other machines just fine, but not this specific machine. I've read through and double checked the ...
aggieNick02's user avatar
2 votes
1 answer
52 views

Vmware tags and Ansible , empty out in Ansible but VMs have tags

I am trying to filter out the list of VMs with specific tags. The sample playbook is as follows : - hosts: localhost gather_facts: false become: false vars: vcenter_hostname: ...
uozzyy's user avatar
  • 23
1 vote
1 answer
367 views

Automate renewal of let's encrypt ACME-DNS challenge with unbound

I changed from a certificate with multiple explicitly defined subdomains to a wildcard certificate. For this to work, the DNS-01 challenge needs to be solved. I have a very basic unbound DNS server ...
Amon Bune's user avatar
0 votes
0 answers
120 views

Answer file in an iso for windows server 2022

I have been struggling for about a month to create an iso for windows server 2022 for an automatic install. I have followed every tutorial I could find. If you have an ISO that automatically installs ...
user avatar
0 votes
0 answers
420 views

How to automatically kill a Kubernetes pod that uses too much CPU?

I administrate kubernetes clusters running software that is not always perfect. Some have memory leaks, some have cpu leaks, some have both. I would like to automatically kill the leaking pods. The ...
e741af0d41bc74bf854041f1fbdbf's user avatar
0 votes
0 answers
100 views

How to start and stop SAP instances (including databases) automatically with OS boot and shutdown, respectively?

Running SLES15 (uses systemd), how can I make SAP instances and databases start automatically on system boot, and stop them properly on system shutdown or reboot? One example I found is for the ...
U. Windl's user avatar
  • 366
0 votes
0 answers
25 views

Rewrite credentials on specific website in http request

I want to automatically connect someone to a website without having to enter credentials. for this i want to use nginx as a proxy to handle the credentials and create a login request to the website ...
Allder's user avatar
  • 1
1 vote
0 answers
29 views

Scripted upload to AWS cloudshell environment

We maintain dozens of developer accounts on AWS and for maintenance purposes it would be amazing if on all cloudshell environments we would have a set of scripts available. It is possible to upload ...
rexford's user avatar
  • 111
1 vote
1 answer
1k views

Alternative to Jenkins Extended Choice Parameter plugin? [closed]

The Jenkins "Extended Choice Parameter" plugin (https://plugins.jenkins.io/extended-choice-parameter/) has been marked "vulnerable" on the Jenkins website for some time. Does ...
JoeS's user avatar
  • 11
0 votes
0 answers
36 views

propagation Vlans name and id number between core network cisco asr and aruba 8300

hello my need is to have my cisco network core interrogate the vlans used and the name of the vlans and to propagate them on my hpe aruba network core. the cisco core network supports vtp and the ...
stephane Miguel's user avatar
0 votes
0 answers
226 views

Change ifcfg-eth* files

I would like to determine the interface name of the hosts where ansible connects and use it as a variable, but the final goal is to create an ifcfg file config for every network interface on every ...
BR1_Tune's user avatar
2 votes
1 answer
206 views

Ansible dual log format

On Ansible config I can set if output log should be human-readable or JSON. Human readable format is displayed task-by-task as it runs and JSON only after playing ends. It is possible to output to ...
trta's user avatar
  • 31
-2 votes
1 answer
116 views

Config HPE servers BIOS Settings By OS

Is there a way to configure BIOS settings, for example: hyperthreading 2.date/time power settings BOOT mode and etc... Can you suggest a package for my needs in Ubuntu? I found hpasmcl, but I didn't ...
sasanalem's user avatar
0 votes
0 answers
28 views

RESTCONF install operation not working - CISCO router

TLDR: I want to automate installation of a router IOS using RESTCONF. I'm attempting to use this RESTCONF operation: "Cisco-IOS-XE-install-rpc:install": "/restconf/operations/Cisco-IOS-...
rjcolvin09's user avatar
-2 votes
1 answer
53 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 ...
yogesh deshpande's user avatar
0 votes
2 answers
40 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 ...
twoLeftFeet's user avatar
0 votes
3 answers
87 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 ...
ganherngyih's user avatar
0 votes
2 answers
369 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 ...
Error Messages's user avatar
1 vote
1 answer
1k 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 ...
Hiddai's user avatar
  • 87
0 votes
1 answer
251 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 ...
ComputerBas's user avatar
0 votes
1 answer
235 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 ...
Michaël de Groot's user avatar
0 votes
0 answers
161 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 ...
muffel's user avatar
  • 342
0 votes
0 answers
145 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 ...
jrd1989's user avatar
  • 668
2 votes
3 answers
233 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" ...
Mike Godin's user avatar
0 votes
1 answer
1k 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 ...
FaultyJuggler's user avatar
0 votes
1 answer
119 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,...
logax's user avatar
  • 119
0 votes
1 answer
404 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 &...
Yarka's user avatar
  • 1
0 votes
1 answer
138 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 ...
jrd1989's user avatar
  • 668
4 votes
2 answers
170 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 ...
MetalGodwin's user avatar
1 vote
1 answer
3k 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). - ...
alphablack's user avatar
2 votes
1 answer
1k 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: ...
tangled_cables's user avatar
0 votes
1 answer
61 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 ...
Non Fungible Person's user avatar
0 votes
1 answer
31 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 ...
usr-local-ΕΨΗΕΛΩΝ's user avatar
-1 votes
3 answers
4k 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 ...
user14876683's user avatar
5 votes
2 answers
4k 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 ...
Charlie Echo's user avatar
1 vote
1 answer
1k 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 ...
jrd1989's user avatar
  • 668
-5 votes
1 answer
88 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 ...
harry young's user avatar
0 votes
0 answers
73 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=...
Nicolas Formichella's user avatar
0 votes
0 answers
183 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 ...
Bruce Van Horn's user avatar
0 votes
1 answer
1k 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 ...
Gil Jensen's user avatar
0 votes
2 answers
238 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, ...
bjmc's user avatar
  • 147
1 vote
0 answers
117 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,...
Panomosh's user avatar
1 vote
1 answer
361 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 ...
Jakub Franek's user avatar
2 votes
0 answers
70 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, ...
andresti's user avatar
0 votes
1 answer
5k 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 ...
Mehdi's user avatar
  • 109
0 votes
0 answers
77 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 ...
Max H. Balsmeier's 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 ...
sam1975's user avatar
1 vote
1 answer
29 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 ...
Sherry's user avatar
  • 11

1
2 3 4 5
13