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
0 answers
29 views

On AWS EKS, how can I update an addon multiple minor versions at once?

Some enabled add-on lags far behind the latest version. The add-on is NOT self-managed (checked using the doc with aws eks describe-addon) That specific addon has no compatibility issues between the ...
John Doe's user avatar
0 votes
2 answers
480 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 ...
Keshav Singh N's user avatar
4 votes
0 answers
5k 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 ...
030's user avatar
  • 13.2k
3 votes
1 answer
80 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. ...
Yellowfog's user avatar
  • 139
0 votes
1 answer
692 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 ...
Bee7's user avatar
  • 1
1 vote
1 answer
695 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 ...
James Geddes's user avatar
1 vote
0 answers
285 views

Packer Ubuntu 21.10 initramfs unpacking failed write error

I'm trying to create a VMI using the official Ubuntu 21.10 iso using Packer and export it to Vagrant box and, if possible, to a simple ISO that I can install manually on another computer. I'm getting ...
cyau's user avatar
  • 123
0 votes
0 answers
64 views

How can I provision using Vagrant if I need a system restart in the middle of the provisioning process?

Good day to you all, How can I approach the following case: System: CentOS Stream/7-8; RHEL; Fedora Vagrant up (init a machine) with shell script provisioning as a file. Case: I go for a full update, ...
Vasil's user avatar
  • 1
0 votes
1 answer
45 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 ...
Semo's user avatar
  • 1
1 vote
1 answer
685 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?
user30584's user avatar
2 votes
1 answer
2k 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 ************************...
Alic Antunez Cruz's user avatar
1 vote
2 answers
143 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 ...
Leonardo Cavalcante's user avatar
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 ...
ahuie's user avatar
  • 13
2 votes
1 answer
105 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 ...
d33tah's user avatar
  • 71
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....
Nullpointer's user avatar
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 --- ...
martin's user avatar
  • 113
2 votes
1 answer
500 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 ...
Hanoch's user avatar
  • 23
1 vote
1 answer
422 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 (...
JohnFF's user avatar
  • 403
1 vote
1 answer
391 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 ...
JohnFF's user avatar
  • 403
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 ...
Jolleyboy's user avatar
  • 143
0 votes
1 answer
129 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 ...
deepg's user avatar
  • 101
1 vote
2 answers
172 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 ...
V O's user avatar
  • 111
1 vote
2 answers
139 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 ...
arunm's user avatar
  • 11
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 ...
Notimp Ortant's user avatar
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 ...
Philipp Claßen's user avatar
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 ...
hansinee nawanjana's user avatar
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 ...
Alejandro Décimo's user avatar
2 votes
3 answers
553 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 ...
Pier's user avatar
  • 344
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 '...
Gijs Peerlings's user avatar
2 votes
1 answer
183 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 ...
John Humphreys's user avatar
3 votes
2 answers
104 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 ...
ddarling's user avatar
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 ...
Tarion's user avatar
  • 113
2 votes
0 answers
135 views

Which CI/CD system do/would space companies like SpaceX use for continuous integration in their devops practice? [closed]

Here is an industry specific question. I have also seen it on Reddit "What is the CI/CD tool at Tesla/SpaceX?" but there is no relevant answer so far. I wonder whether there are, or are ...
Ta Mu's user avatar
  • 6,812
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....
Richard Slater's user avatar
2 votes
1 answer
633 views

Check connectivity of 5000 + servers from ansible and get list of hosts which are connectable and which are not

I need to check connectivity of hosts on port 43. I can manually login and check connectivity by: nc -v `hostname` 43 nc -v `hostname_1` 43 Is there any ansible script that goes through all the ...
user12189187's user avatar
0 votes
1 answer
110 views

PowerShell command to automate Azure Linux VM [closed]

I am looking for some PowerShell command which can check if any update/patch need to be applied to existing Azure Linux VM and then apply the patch if required. I will then use this PowerShell ...
rdhaundiyal's user avatar
1 vote
2 answers
6k views

How do I configure Jenkins to trigger on a pull request based on the Git branch's name?

I want pull requests to Git where the target is master and the source has a string "foo" to trigger a Jenkins build. If this string "foo" appears in the source branch's name when there is a pull ...
NewYorkSup's user avatar
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 ...
treeNinja's user avatar
  • 121
4 votes
1 answer
442 views

Building a CI/CD pipeline on GCP

I have a containerized web application on GitHub and I would like to build a CI/CD pipeline on GCP consisting of a trigger stage, a build stage and a deployment stage and be able to do continuous ...
christian Martin's user avatar
2 votes
1 answer
63 views

How to have kubernetes (re)build containers on deployment similar to openshifts ImageStream

I am currently investigating how to manage the containers for our new data-processing pipeline. What I would like to do is to be able to have whatever tool I choose rebuild the docker images when I ...
lijat's user avatar
  • 121
0 votes
1 answer
689 views

how to run an Ansible command for specific number of hosts

I am new to Ansible and i have a question about limitting hosts in a host group at running commands.I have these host groups in my inventory: [primary] host1 host2 [standby] host3 host4 ...
BlackCrystal's user avatar
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 ...
ScubaDiving's user avatar
0 votes
1 answer
152 views

AWS Automation Document Run Steps Against Different Servers Targeted By Tag

As the title describes I want to execute a step against a resource, but I want to specify that resource not by resource id but by tags, I have tried with the below example, but it doesn't work. What ...
Daniel Johns's user avatar
0 votes
3 answers
170 views

How to avoid build scripts duplication

Let's say you've got several code repositories on GitHub. You want to build, test and deploy them. You picked a continuous integration service (e.g. Travis CI, AppVeyor or something else) and wrote ...
Sergey Anisimov's user avatar
0 votes
3 answers
67 views

Auto-scaling, how to securely get code from private repo

I want to setup an auto-scaling configuration but cannot think how I can securely get code from a private repo when I spin up new instances. I obviously don't want to put passwords in startup scripts,...
Adam Copley's user avatar
0 votes
2 answers
125 views

Is there an elegant way to use a Dockerfile argument to tag an image?

I use and argument (ARG) in my Dockerfile to download a particular version of an application. I would like to tag my image with that version number. I end up writing something like that: sh$ ...
Sylvain Leroux's user avatar
2 votes
1 answer
83 views

Docker image two-steps build

I have a third party PHP application to install in a container. The application is shipped without its dependencies. There is a provided script to automate dependency installation, but it relies on a ...
Sylvain Leroux's user avatar
1 vote
0 answers
45 views

How to automate a work-flow in the cloud? [closed]

I'm currently trying to scale a crawler in the cloud. I'm wondering what would be the best way to automate the work-flow, considering the following conditions: - Guaranteed bandwidth, CPU and memory ...
Quentin's user avatar
  • 111
1 vote
2 answers
1k views

Take automatic screenshots of a website and send it to WhatsApp or Facebook Messenger

I am trying to automate the process of "sending the screenshots of a monitoring tool dashboard to my WhatsApp number" at regular intervals. So far I have achieved the following: Automated the ...
dheerendra's user avatar
3 votes
2 answers
153 views

Is there a system which automates everything (OS release, and above) to host websites on?

This is not really a DevOps question but more of a System Automation question (which DevOps covers only a part of, by popular opinion, so I hope it's okay). I feel like some 5 USD IaaS VPS with ...
user avatar