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
9 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, ...
-1
votes
0answers
6 views

No server solution for manipulating Dropbox files [closed]

I want to add 3 fixed lines to a Dropbox file every day at a fixed time. What is the simplest way to do that without having to run a daily cron job?
0
votes
1answer
35 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 ...
0
votes
1answer
28 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
1answer
67 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
2answers
46 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
1answer
70 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
1answer
79 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 ...
0
votes
1answer
81 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....
1
vote
1answer
37 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 --- ...
2
votes
1answer
107 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 ...
1
vote
1answer
30 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 (...
1
vote
1answer
27 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 ...
4
votes
2answers
70 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 ...
0
votes
1answer
27 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 ...
0
votes
1answer
22 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 ...
1
vote
2answers
30 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
1answer
23 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
3answers
804 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 ...
2
votes
1answer
48 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
586 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 ...
2
votes
2answers
345 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
3k 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
1answer
123 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
94 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
30 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
66 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
1k 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
177 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
87 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
2answers
3k 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
61 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
358 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 ...
2
votes
1answer
58 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
426 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 ...
1
vote
4answers
35 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
98 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
101 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
47 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
68 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
53 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
218 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
144 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
149 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
91 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
69 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
43 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
228 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
122 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 ...