Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [automation]

Automation is the process of building or integrating software that takes a manual or laborious task and brings it under machine control, thus reducing labour. Use this tag to describe questions that are about automation.

Filter by
Sorted by
Tagged with
0 votes
2 answers
570 views

why does my Ansible playbook throw "Found existing installation: requests 2.25.1\n\n:stderr:ERROR: Cannot uninstall requests 2.25.1"?

I'm trying to run an ansible playbook that installs docker and docker-compose and runs a compose file on a ec2 t2.micro. To use the docker modules in ansible, I need to have docker and docker-compose ...
0 votes
1 answer
771 views

Work item rules in Azure DevOps board: Parent STATUS (custom field) dependent on child STATUS

I'm working in Azure DevOps and have some organisational restrictions so instead of using "State" we will use a custom field "Status" with 6 options: On Track Delayed Pending Done ...
2 votes
1 answer
2k views

How to set Terraform Cloud environment variables from the command line?

Terraform Cloud is a SaaS platform for managing Terraform runs, state and variables. Once you have created a project you can set environment variables via the following page: https://app.terraform....
4 votes
5 answers
3k views

How to get the latest Tomcat version?

If one checks the Tomcat homepage then one could see some versions, but not only the latest. Off course I could parse the website and find the version, but I am looking for a Tomcat API that shows the ...
4 votes
0 answers
6k views

How to create a bot user for an organization in GitLab?

Background: In GitLab it is possible to create bot users for projects and for groups. A project bot can only access one project by using one access token and a group bot can only access the projects ...
3 votes
1 answer
82 views

How is 'self-healing' to be reconciled with Infrastructure as Code?

As a relative newcomer to the developments happening in Operations - DevOps, SRE, etc. - I'm struggling with a big-picture problem. The following is a specific example, using a network load-balancer. ...
2 votes
3 answers
559 views

Ansible event driven capacity

I've been using SaltStack a lot in my previous job, and loved its event driven model. Now, in my new job, we are using Ansible, and definitely not in an event driven model. I was wondering if there ...
1 vote
2 answers
177 views

Saltstack howto create a Concatenation CA?

I would like to have the following a bit more clean. I'm trying to create concatenated CA file using Salt. To accomplish this I first have to collect all glusterfs.pem files from all my minions and ...
35 votes
3 answers
4k views

Who is this Chaos Monkey and why did he crash my server?

I had a perfect server, it was so pretty and rock solid and so I named it Petra. It was perfect in every way, everything was configured and tuned just right, it had perfect 100% service record and 753 ...
1 vote
1 answer
766 views

How can you do pre-merge testing in trunk based development?

Currently, we use a simple branching strategy, with a single main branch and one layer of feature branches; no branches on branches on branches. We also have many pipelines that run against each PR to ...
0 votes
1 answer
46 views

Continuous integration of an operating system

I want to hire a VPS but my problem is that most if not all of the VPS companies out there expect me to work with it as is and if I want to majorly upgrade it, I must, backup everything I have added ...
1 vote
1 answer
747 views

How to check the status of Ethernet port using ansible?

I want to check status of Ethernet port whether it is up or down on remote server using Ansible?
2 votes
1 answer
3k views

What do skipped, rescued, and ignored results mean in ANSIBLE playbook execution?

What do skipped, rescued, and ignored results mean in an Ansible playbook execution? What would be a possible scenario where these results would be different from 0? PLAY RECAP ************************...
1 vote
2 answers
144 views

Dynamic environments per client, which is the best approach, if any?

I don't know how to explain this problem better, but I'll try to explain it clearly: Where I work our customers are companies, with lots of users We offer a SaaS solution for them to manage stuff For ...
1 vote
1 answer
2k views

How to add a string to a line when it doesn't exist?

I'm trying to solve a problem where I want to add a setting 'pci=noaer' to all kernel definitions in /boot/grub/grub.conf, but only if the setting doesn't exist. I've managed to get the basic ...
2 votes
1 answer
106 views

What is a good strategy to reliably and automatically perform remote system tests of a web service?

In a company I work for, we have deployed many services: a major part of them are small and rather rarely used, but an outage would be a problem nonetheless. At some point I realized that manual ...
1 vote
1 answer
427 views

How to make Octopus Deploy trigger a new release when a new release made on GitHub?

I have a GitHub project that I'm using to trigger new releases on Octopus. I can see triggers for machine changes, or timed things, but not specifically when a new release is created on GitHub. This ...
1 vote
1 answer
443 views

How to get code from Bitbucket via Octopus?

Is there a way that I can tell Octopus to take its code from Bitbucket and not GitHub (without using Bitbucket's pipelines)? I couldn't anything under community steps that would let me do that (...
0 votes
1 answer
2k views

java.lang.UnsupportedOperationException: no known implementation of class jenkins.tasks.SimpleBuildWrapper is named BuildUser in jenkins

I preparing script in Jenkins as below where I getting error while build job. This job is send email to user for input for next step. [Pipeline] End of Pipeline java.lang....
4 votes
2 answers
101 views

Are there automated quality checking tools for Ops code

In the dev world, we have several tools available to us for automated quality checks. We have unit tests that run on each build, Sonar to check for code quality, metrics being sent to Grafana and ...
2 votes
1 answer
518 views

Problem with Ansible Asynchronous actions

I'm trying to run two simple tasks Task A starts an Ipref3 server and waits for a client to connect Task B starts to run from host-1 until the given timeout once Task B (host-1) is over another Task B ...
2 votes
3 answers
3k views

How to automate the key exchange in WireGuard when you deploy a cluster of machines?

Let's assume you want to deploy a cluster of machines on Hetzer Cloud. For simplicity let's call them worker1, worker2, worker3. They need to communicate with a server called master, which will be ...
1 vote
1 answer
67 views

Auto build and upload to AWS new docker image after commit in repo

I'm new at DevOps, and I looking for solution to my problem. I have a private code repository where I have a some Flask apps in one of many folders. Example of structure: - Project -- Django Apps --- ...
13 votes
2 answers
7k views

Docker tags for multi-stage builds for series of Docker images out of one Dockerfile

Thanks to Docker multi-stage builds, we can compile some artefacts in one environment and put them for execution in other one. As result, there are two images, where the final corresponding to the ...
10 votes
2 answers
375 views

Data Science pipelines and monolithic model blobs

Normally, one important topic in DevOps is how we take care of automated creation and delivery of software artefacts. With the rise of data science there is a new type of artefact - monolithic binary ...
1 vote
4 answers
50 views

Is there any Selenium-like software for executables?

I have some app I want to test i.e. it has a window opening up and I want to press some of the buttons and fill in some text boxes, and I need to do the same process multiple times. I heard about ...
0 votes
1 answer
144 views

How to Automate VM provisioning and setup using code?

Here is what I want to achieve. I write code(Java, NodeJs, Go) to tell the program which Cloud Provider to choose- AWS/Azure write code to create a instance , lets say AWS - EC2 instance under which ...
1 vote
2 answers
142 views

DNS Issues with Cloud formation template

I am trying to automate the creation of an EC2 instance with CloudFormation but am running into issues with DNS. Once the instance is created it can't seem to resolve any hostnames. I try to ping a ...
0 votes
1 answer
33 views

Automate Application Upgrade in Azure VMs

Sorry if this question is on the wrong Stack Exchange or too vague. I am really new to DevOps and got a big task and don't want to start on the wrong direction. We have many Linux-based (Redhat) VMs ...
2 votes
1 answer
61 views

Clarification about Operational Support System

I just started my career as a BA. As the first task, I have to study about operational support systems like ansible tower. I could not find any references to study about this. What are the similar ...
1 vote
1 answer
2k views

Jenkins Declarative Pipeline: Can Jenkins execute a dynamic list of jobs?

Context: I have a long dynamic list of builds calls that I am currently executing in parallel successfully. Example below. Problem: In some specific moments it is required to run that list of builds ...
3 votes
2 answers
106 views

Infrastructure Automation with GitLab

I am looking to validate the use of devops for a team of seven people, each having a specific function. 1 Java Developer 1 System Administrator 1 Team Lead/Project Manager 1 Identity Management ...
1 vote
2 answers
7k views

Ansible: When 'directory/file exists' in a loop

I have written some Ansible code to put users from the users.yaml file in the variable 'nexus_local_users' to be used by a role. When doing this a random password is created and written to the '...
2 votes
1 answer
185 views

Cloud agnostic infrastructure automation better than terraform?

Are there any infrastructure automation technologies which do a better job at being portable than terraform? We heavily leverage terraform as it is a cloud-agnostic technology (vs, say, ARM templates ...
4 votes
1 answer
559 views

Is it possible to keep all the DSC configurations in Version Control and make Azure Automation fetch it from there automatically?

The Azure Automation DSC seems to know to integrate with GitHub, but it seems to expect only runbooks there. At least, this is what I understand from the following UI screen: I have just started to ...
1 vote
1 answer
32 views

How to automatically deploy routers / industrial PC's

I'm facing the problem, to setup Gateways and Industrial PC's (with SSH access) regularly. All have different default settings. Some have a default root password, some have a default user. Some have a ...
7 votes
1 answer
339 views

How to automate submission to Amazon Marketplace?

Is anyone aware of a way to automate the submission of an AMI to Amazon's Marketplace? I want to take a public AMI and share it to the AWS Marketplace so it can be scanned for listing and then submit ...
8 votes
3 answers
1k views

How to implement a frozen test environment?

Here is a partial quote from an answer to the question about "How to avoid continuous integration-caused instabilities in test environments?": This environment usually freezes during the tests. My ...
23 votes
1 answer
1k views

Git clean/smudge filters for ansible vault secrets

I am trying to setup clean/smudge filter in git to have automatic encrypting and decrypting of files containing secrets thru ansible-vault command. Peculiarity of the ansible-vault command is that it ...
9 votes
1 answer
1k views

Is there any way I can rotate AWS KMS keys every time interval < 1 year?

According AWS KMS, keys can be rotated once every year. However, there is no way I can define a custom time period for that. However, I can keep changing the same in the bucket's policy manually. So,...
14 votes
2 answers
167 views

How can I keep track of my Cloud Resource use?

I am trying to automate my AWS application deployment with Jenkins. Right now if we want to update the application in any of the environments, say UAT, we build our docker images, find the current ...
8 votes
1 answer
359 views

How do I automate deployment to Docker with CircleCI?

My circle.yml file and my CircleCI account are set up to use Docker for testing already, but I'd like to move to continuous deployment upon a successful build. Here's what I have so far in circle.yml:...
0 votes
3 answers
189 views

How to deploy software every second? [closed]

Companies such as Amazon, Etsy, Google, Facebook and others are publicly saying they deploy software thousands time per day. What are they doing that is so different from other companies? How can ...
2 votes
1 answer
81 views

How to prevent failure from introduced changes? [closed]

The DevOps Report by Puppet Labs states that "devopsy" companies have 3x times lower failure rate. While other companies must have a fairly regular rate of failures from deployments to production. ...
5 votes
1 answer
390 views

How to automate TeamCity installation using docker?

JetBrains TeamCity docker image describe build steps for already installed TeamCity. Is there any way to automate installation of TeamCity it-self? For example creating the admin account, enabling ...
44 votes
7 answers
6k views

What's the difference between DevOps and Automation?

I see that whenever someone does DevOps, it's mostly about automating things like deployment etc. But where does automation end and DevOps begin?
2 votes
0 answers
83 views

Update Service Hooks in TFS2015 through Jenkins Job [closed]

Is there a way to modify what branch a service hook is monitoring through a Jenkins job? Our build jobs within Jenkins are triggered via service hooks within TFS. When we branch, inevitably we ...
2 votes
0 answers
53 views

Actions Performed During FAI Repository Task Do Not Persist

Question My hook script for the repository task (see the list of FAI tasks) doesn't seem to be having an effect on the final state of installation. Why not? Is this the expected behavior? If so, why? ...
4 votes
0 answers
261 views

Installing Packages from a 3rd Party Repository with FAI

Problem I want to install Docker CE on a Debian Stretch system using Fully Automatic Installation (FAI). The official Docker documentation recommends that you install Docker using their package ...
14 votes
1 answer
3k views

Testing Jenkins jobs and pipelines

Currently, we have a fair number of Jenkins jobs and pipelines for builds, testing, deployments and other automated activities. Every time we change or add a new job, we only test it manually - e. g. ...