Skip to main content

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
0 votes
0 answers
16 views

How to automate network boot from DHCP server to another server?

I have to automate network booting from a DHCP server to another server which I have created in Openstack. I have to use openstack platform when I am creating services and I have to automate the pxe ...
Darshna Das's user avatar
-1 votes
0 answers
30 views

Notify users during logon if their account expires in seven days or less

I am trying to achieve the following: When a user logs into a computer, display a notification if their account expires in seven days or less. (Not password expiration). When the user account is ...
sudoroot1's user avatar
0 votes
0 answers
32 views

how to launch gnome-shell --wayland via remote ssh terminal?

I am struggling to launch the gnome-shell --wayland from the remote ssh terminal. Currently, If I want to launch it then I have to launch it from the terminal which is shown on my displays connected ...
Atif Faraz's user avatar
0 votes
0 answers
25 views

iDRAC stop executing some RACADM commands after a while

I'm using racadm raid get pdisks -o command to get server physical disk information and I noticed that this command is working after iDRAC(iDRAC9 Enterprise) reboot but stop working(racadm ERROR: ...
Bogdan's user avatar
  • 1
0 votes
1 answer
36 views

script to print dhcpd.leases info to syslog/file

So i'm running dhcpd on a server and to my knowledge the logs from dhcpd are not adjustable, if they are i'm dying to know how... Anyways, i need something to check the dhcpd.leases-file which is ...
Tomsch112's user avatar
2 votes
1 answer
385 views

Ansible compare two value from two dictionnaries

I have a simple problem, i have two dictionaries, one being static with some data, and an other being the result of the stat command stored in a variable (with register). The goal is simply to compare ...
math's user avatar
  • 121
0 votes
0 answers
59 views

How to link resources in crossplane for openstack provider

I am experimenting with crossplane in openstack. I created a Composition that group different components, like 1 virtual machine, 1 keypair to access the machine and one volume to mount in the machine....
amh9412's user avatar
  • 21
0 votes
1 answer
293 views

Jenkins Multiple Agent and Git

I have been using Jenkins for many years, but I have never needed more than one agent for my tasks. Just recently, I found the need to add another agent, which is not Linux but Windows. Now, this node ...
Yousuf's user avatar
  • 35
0 votes
1 answer
77 views

.NET application cannot connect to ServiceController when executed through PsExec

I am trying to automate an installation of an application with Packer and Ansible. At some point the installer of the software, which we have automated using Selenium, checks whether certain Windows ...
Maarten Ureel's user avatar
0 votes
0 answers
57 views

Seeking Expert Advice on Terraform Deployment Cleanup

I've been successfully using Terraform for various deployments, managing to create multiple environments for different clients using a single Jenkins job. However, I've hit a roadblock when it comes ...
Yousuf's user avatar
  • 35
0 votes
1 answer
99 views

Troubleshooting Wake-on-Lan on Dell Microplex

I am trying to get WOL working, but it simply does not help to power on my devices. Here's what I have tried: I have a 2 PCs of different make/models connected to a Cisco Switch. Both them do not work,...
stealthmode's user avatar
0 votes
2 answers
884 views

Execute synchronize module in Ansible automation platform results in file not found

Recently we switched to Ansible automation platform 2.3. My execution environment is ee-supported-rhel8 which contains the Ansible.posix.synchronize module. When I execute a synchronize module it is ...
Prade's user avatar
  • 31
-2 votes
2 answers
432 views

How to delete files automatically from a NAS

There is a CP Plus NVR at my organisation which records data from the cameras and stores them in a dedicated QSAN XCubeNAS Server. Our NAS has limited storage, is there a way to automatically delete ...
Ayush's user avatar
  • 1
0 votes
1 answer
308 views

Where does Packer look for scripts?

I have a packer template that I'm trying to run. It generally does what I want it to do in that it creates an Azure VM, generalizes it and uploads it to a compute gallery. I'm now trying to expand it ...
theillien's user avatar
  • 449
0 votes
1 answer
171 views

Load balancer on Ansible Automation Platform

Need one help with Load balancers for Ansible Automation Platform. Actually I ve upgraded from Anisble Tower 1.2 to Ansible Automation platform 2.3. Now I am not sure which IP's should I expose to ...
Prade's user avatar
  • 31
0 votes
1 answer
111 views

Backing Up Forwarded Events

I have created a simple test two liner ps script to backup parts of my event logs and the only one I can't backup is the forwarded events, is there a reason for this? The other logs back up fine with ...
Davids Learnin's user avatar
0 votes
1 answer
265 views

Net group command

I'm working on an automation project, and I need to add members to a specific group using a command-line approach. Currently, I'm using the net group command like this: net group "group name"...
Ahmed brh's user avatar
0 votes
0 answers
70 views

Authenticating to Hashicorp Consul from a VM

I am trying to understand how can I authenticate to Consul from a VM. I have Azure AD as IDP, but it's not clear from the documentation whether it can be used to retrieve JWT token to use it later to ...
user3191591's user avatar
0 votes
1 answer
183 views

Script to Automatically Start a glassfish domain once it's down?

Steps to reproduce this issue: Glassfish domain called domain1 goes down. Now, start that domain again. Assume there are multiple domains, around 8 of them And different servers have varying amount ...
achhainsan's user avatar
1 vote
0 answers
127 views

How to export Azure REDIS data to BLOB storage with a Automation Runbook?

I'm struggling with setting up a runbook that overnight exports my REDIS Premium data to a BLOB container. This might be due to my lack of Powershell experience. So far I came up with this: # Ensures ...
JonHendrix's user avatar
0 votes
2 answers
195 views

Why doesn't cron run the commands in another user's crontab?

Hello everyone and thank you in advance. I have written a job in the mysql user crontab, but it doesn't run at all. I think my code is correct, because it works properly if I execute it pointing to a ...
Centaro's user avatar
  • 19
-1 votes
1 answer
624 views

Backup of organization's GitHub repository

Is there any guides/best practices/manuals describing how to organize periodical backup (and of course restore if needed) of entire organization's GitHub, preferably with metadata?
Someone Sometime's user avatar
1 vote
1 answer
596 views

Practice of high frequency scheduled Ansible playbook runs

I'm fairly new to administrating servers with configuration managers such as Ansible. I plan on running playbooks automatically on a schedule (via something like Ansible Semaphore, or even just Cron) ...
corvus-migratorius's user avatar
-2 votes
1 answer
834 views

How do I automate a daily download from an SFTP server? Currently trying Power Automate

I am trying to use power automate to automate a daily process of connecting to a sftp, downloading files onto my local drive. My biggest issue is I am unable to whitelist all of the IP addresses ...
Harrison Miller's user avatar
0 votes
1 answer
104 views

iLO5 scripting to change SATA Controller Options

I want to change SATA Controller Options on HP servers with iLO5 How I can change it by scripting? For example, I found iLO4 solutions, where people mounting virtual media by iLO scripting cd /map1/...
mocart's user avatar
  • 121
1 vote
1 answer
24 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
3 votes
2 answers
459 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
  • 33
2 votes
1 answer
3k 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
2k 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
554 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
  • 391
1 vote
0 answers
42 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
2k 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
2 votes
1 answer
468 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
223 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
-2 votes
1 answer
73 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
64 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
126 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
1 vote
2 answers
699 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
2k 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
  • 105
0 votes
1 answer
434 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
448 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
259 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
  • 372
0 votes
0 answers
256 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
  • 688
3 votes
3 answers
859 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
2k 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
205 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
  • 139
0 votes
1 answer
610 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
214 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
  • 688
4 votes
2 answers
175 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
4k 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

1
2 3 4 5
13