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

Tool to manage Yaml files

Scenario : need to deploy 30+ mulesoft runtime using gitlab. gitlab takes one .yaml file per application. each .yaml file is 50+ lines and configurations in yaml files are dependent on the other yaml. ...
0
votes
0answers
5 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 ...
0
votes
0answers
10 views

How to automatically add externalips in nodeport to nginx ingress in baremetal?

We are running Kubernetes in baremetal and we are looking into nodeport and network load balancer as an alternative to MetalLb as we experienced timeouts and drops using BGP/MetalLb So we looked into ...
-2
votes
0answers
29 views

Tool for project managment

I am looking for web tool that will run automation once the request is accepted by employ. for exmaple I want to start up new VM, so I would like a website that will have several stages for this ...
2
votes
1answer
33 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
1answer
35 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 ...
1
vote
0answers
34 views

How to update the XRAY Test Execution result of a particular Test Step within it using REST api?

I'm trying to update the Test Execution result of a particular Test Step within it using REST api. I referred the Test Step Results - REST documentation, however, the solution doesn't produce the ...
1
vote
0answers
12 views

Daily report generation with ELK open source version

Is it possible to generate daily reports with ELK opensource version? I want to include some graphs from an existing ELK visualization. Is that possible? At least is it possible to export a graph in a ...
2
votes
1answer
61 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 ...
0
votes
2answers
364 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 '...
0
votes
0answers
71 views

How to execute kubectl command against an Azure Kubernetes Service (aks) resource using Azure Automation PowerShell Runbooks?

I would like to execute a kubectl command against an AKS resource using an Azure Automation Runbook. There doesn't seem to be any documentation on how to do this. The reason I'm using Azure ...
2
votes
1answer
52 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 ...
3
votes
2answers
78 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
1answer
28 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 ...
2
votes
0answers
53 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 ...
1
vote
1answer
476 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....
2
votes
1answer
65 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 ...
0
votes
1answer
40 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 ...
1
vote
0answers
213 views

Is there a way to setup Oauth with openvpn or wireguard?

I'm looking to build a set of services that require a single sign on. Basically, you login to my oAuth provider, and you have access to an openvpn connection(or wireguard) and a website, without ...
0
votes
2answers
1k 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 ...
2
votes
0answers
42 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 ...
4
votes
1answer
296 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 ...
1
vote
1answer
44 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 ...
0
votes
1answer
62 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 ...
0
votes
3answers
20 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
1answer
59 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 ...
0
votes
3answers
62 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 ...
0
votes
3answers
43 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,...
0
votes
2answers
59 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$ ...
2
votes
1answer
46 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 ...
1
vote
0answers
42 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 ...
1
vote
2answers
78 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 ...
3
votes
2answers
141 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 ...
1
vote
0answers
140 views

How to integrate CI with federated AWS IAM roles? [closed]

Imagine a multi tenant environment using a CI (e.g. GitLab but can be any other) and AWS as a backend for test infrastructure. With fixed users, it is easy: save credentials as secrets. But what if ...
0
votes
2answers
58 views

Is it true to say that both a “shared server environment ” and a “VPS environment” can be either IaaS or PaaS?

Say I rent a DigitalOcean 20$ "VPS environment" (IaaS) or a SiteGround 10$ "shared-hosting environment" (PaaS). As far as I know, in both cases I share hardware with other customers (both ...
-1
votes
1answer
63 views

A cloud technology with automatic upgrades of my OS-release and web server release?

I desire a cloud technology that will redund my need of using Vagrant to continuously integrate OS release upgrades (say from Ubuntu 18.04 to 20.04 including all software installed by apt-get --- ...
-1
votes
1answer
42 views

Maximally-self-managed hosting-platforms and OS-and-above containerizators (like Vagrant)

A maximally-self-managed hosting-platform like DigitalOcean/Linode lets a customer quickly create its own VPSE (Virtual Private Server Environment) which includes a common FOSS operating system like ...
4
votes
4answers
209 views

DevOps tools and automation of manual processes

This is a general question, but couldn't find a better place to ask. I'm a new DevOps member in a company, and I've been ask to "update" our DevOps technologies. Generally speaking, in what areas do ...
2
votes
0answers
108 views

Creating a task for a backlog item automated in the release pipeline of VSTS [closed]

I'm looking for a possibility to create a task and attach it to a backlog-item from the release pipeline in Microsofts TFS/VSTS. So far I couldn't find anything that would make this possible. Has ...
11
votes
1answer
2k views

How to keep configuration files automatically during apt-get upgrade or install?

When performing and apt-get update; apt-get upgrade -y on a server I encountered the message: Setting up sudo (1.8.16-0ubuntu1.5) ... Configuration file '/etc/sudoers' ==> Modified (by you or by ...
11
votes
2answers
2k views

What is ansible-runner about?

I've read the README file from the github repository as well as the documentation site of ansible-runner (from the official ansible project) but I don't understand what is ansible-runner about and in ...
4
votes
1answer
8k views

Jenkins Job vs Jenkins Pipeline

BACKGROUND : We have one Selenium automation project which is shared in BitBucket repository. Project is maven project. we have 10 testng.xml files for all modules OVERVIEW: Now we want to trigger ...
9
votes
1answer
3k 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 ...
2
votes
0answers
41 views

Jenkins GitHub Organization Metrics [closed]

I am using Jenkins with the GitHub Organization item option. On Jenkins with freestyle projects or others I am able to get build metrics: success, failure, date, node and so forth. On the GitHub ...
7
votes
2answers
3k views

How do I replicate a Jenkins setup via automation?

I have a Jenkins setup running in production. I want to automate the Jenkins setup (installation) along with all the jobs that are set up in Jenkins. One crude way I can think of is to copy the whole ...
0
votes
1answer
2k views

Kubernetes create multiple jobs based on template and list

We are currently migrating many of our production data ingress/processing scripts/processes into a kubernetes cluster. Each "customer" or company that we interface with has a bunch of data and we want ...
5
votes
2answers
890 views

How to automate rolling upgrades for ec2 running linux behind elastic and/or application load balancer?

Would like to ask for recommendations on ready automated solutions or templates for rolling ec2 instance upgrade on AWS, requiring a reboot with ELB/ALB. Specifically required to perform the ...
4
votes
1answer
351 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 ...
4
votes
1answer
40 views

Does Oracle have an API that shows the latest stable JDK version?

There is an ansible role that installs jdk8, but is incompatible with jdk9. The role parses a couple of html pages and the commands are incompatible with java9. It was quite hard to make it work for ...
-2
votes
2answers
122 views

How to create Chef Package for Redhat. I have 2 rpms agents and 2 yaml files

Installation steps. There are two ELK agents to install: Metricbeat Copy the attached file metricbeat-6.0.0-x86_64.rpm to the target server Execute the command: sudo rpm -vi metricbeat-6.0.0-x86_64....