Questions tagged [devops]

56 questions
0
votes
0 answers

Protect staging / pre-prod environments

I'm trying to secure some microservices environments. The problem is about distributed services, because some of them are SaaS products or in different clouds, serverless, PaaS, Kubernetes and so on.. and they're interconnected. Years ago, it was…
Adrian Perez
  • 169
  • 2
  • 9
0
votes
0 answers

redirect to http depending on the condition

I use nginx Assume that url hello.test.example.com, hello example of dynamically subdomain, how can i redirect to hello.test2.example.com when hello file existing in specific directory path server_name ~^(?[^.]+)\.test\.example\.com$; …
Sam
  • 1
0
votes
1 answer

Ansible playbook - defining var based on condition

I want to create a var based on condition so I created the below : hosts: test vars: vtarget_backup_folder_in_progress: "{{ "{{ folder }}/{{ target }}/test{{ hostvars['localhost']['tstamp'].stdout }}{{ type }}" if node_type == "master" else "{{…
Sam
  • 1
  • 1
0
votes
0 answers

Red Hat OpenShift Failed to push image

I'm trying to create a new container in RH OpenShift, but I keep getting the following error: error: build error: Failed to push image: error copying layers and metadata from "containers-storage:[overlay@...blah...: i/o timeout I've recently…
0
votes
2 answers

How to enable local image registry on OpenShift Single Node Cluster installation

I've recently completed an installation of a Single Node Cluster using OpenShift 4 but I'm running into issues when trying to spin up some of the example container / projects they have available. I just keep getting the following error: Error…
0
votes
1 answer

Best solutions for auto deployment of multiple server applications

I'm still a newbie to devops and overall sysadmin, and a few days ago I wanted to completely reinstall everything on my server and properly setup services and deployment for apps, now my problem is how I would properly approach automatically…
0
votes
0 answers

deciding on docker architecture setup and performance

I will need to virtualize a jenkins software architecture and I don't know which architcture will be more efficient. I need : a jenkins server an opensuse server for c/c++ 64 bits compilation an msys2 system for win32 compilation and packaging…
sancelot
  • 101
  • 1
0
votes
0 answers

AWS cdk environment strategy: one per branch, one per developer, or only dev/staging/prod?

we're currently setup with a dev, staging, and prod environments on aws. We're finding it hard to do QA properly, since often many commits happen in a short span of time, and are all included in a codepipeline build, which makes it hard to associate…
samlaf
  • 101
0
votes
2 answers

Ansible task output to a file in ansible server

I'm writing a playbook that will check the application version on different hosts and write the output to a Ansible variable. My requirement is I want to output the ansible variable to a file output.log. What the problem is the variable is written…
Manikandan Ram
  • 389
  • 1
  • 14
0
votes
1 answer

System-wide Docker login?

Is there any way to log a whole machine / Docker daemon into a registry? Everything I see about docker login and various proprietary credentials helpers uses ~/.docker/config.json, i.e. is per-user. I have a situation where I would like to pull…
Bernd Haug
  • 878
  • 5
  • 11
0
votes
1 answer

What are common variables to mention in an inventory ansible yaml file?

I try to build a pipe-line to install my product. My product is installed in a lab with at least 8 machines (on-prem lab). I have several labs on-prem, several labs on cloud Each machine has a role, for example: a Center-DB machine, a Center-Queue…
Hiddai
  • 67
  • 2
  • 10
0
votes
1 answer

Ansible to rename a file only if exists

I need to rename /jp/Test to /jp/test only if /jp/Test exists , otherwise i dont need to perform this task. if Both exists i need to merge both into /jp/test I get below error {"msg": "The conditional check 'item.1.stat.exists == false and…
celcoprab
  • 23
  • 1
  • 2
  • 8
0
votes
1 answer

Is it good practice to out MySQL or Apache in /opt/ folder?

So at my company they want to put all the application software in The /opt/application folder. This strikes me as odd because they consider server daemon like Apache and MySQL as application sofrwarw...but they already usually have a place like…
0
votes
1 answer

what number of azure subscriptiions is too many?

My organisation has 50 azure subscriptions at the moment and is planning to grow to well over 500 for several reasons: each application will have its own subscription, techies have their own subscription, dev environments are created ad-hoc. There…
Parsifal15
  • 17
  • 2
0
votes
2 answers

Jenkins Integration with Android studio

Descrip : I created a jenkins job to integrate jenkins with Android studio for generating artifacts, While building the project in Android studio, The build is successfull.. But When i build the same project via jenkins, Im getting the below…
Manikandan Ram
  • 389
  • 1
  • 14