Most Popular
1500 questions
3
votes
2 answers
using copy module with wildcards
I need to copy a database backup file from a primary server to a standby server. Since I can't use synchronize, I was following this method:
copy a file from primary to the local ansible server,
copy the file from local ansible server to…
BlackCrystal
- 197
- 3
- 11
3
votes
1 answer
What is the need of plugins in Jenkins (Sonarqube)
On learning about integrating Sonarqube to CI/CD pipeline, I came across the Sonarqube Jenkins plugin which most of the online blogs recommends.
After configuring it, I realized that the working is the same as that of running the sonar-scanner…
PDHide
- 133
- 3
3
votes
1 answer
Traverse nested dictionary with keeping the keys in ansible
I'm not able to loop a list in a dict and keep the key of the original dict.
Bellow an example of my data
vars:
nginx_users:
'instance1':
roles:
- product
- nginx_instance
cert_source: internal-ca
URL:…
maco1717
- 133
- 1
- 6
3
votes
1 answer
npm not found but installed from the shell script file in Dockerfile
I have a following Dockerfile:
FROM ubuntu:18.04
RUN mkdir app && cd app
WORKDIR app/
RUN apt-get update && apt-get install -y \
software-properties-common \
curl \
sudo \
&& curl -O…
Leon Ma
- 33
- 1
- 1
- 4
3
votes
1 answer
Accessing TPM from inside a Docker Container
I want to implement Vault as part of the DevOps build pipeline to store all the secrets like passwords and certificates. I understand that Vault keeps the data encrypted but I have been asked to look for a way to store the Vault's data in TPM as "it…
7_R3X
- 145
- 1
- 7
3
votes
3 answers
Jenkins pipeline: do "Declarative: Checkout SCM" step only
I'm newbie in Jenkins.
I've created pipeine with parameters in Jenkinsfile in git. It works fine.
Problem is: when I push new parameters into Jenkinsfile, then press button "Build with Parameters", there are no new parameters. I will see them only…
Alexey Vazhnov
- 139
- 1
- 1
- 9
3
votes
1 answer
Store named volumes on another drive
I'm really familiar with Docker on Linux but my company's IT department uses Windows. They're interested in converting VM-based services over to Docker so I'm trying to get them set up with a good Windows-based Docker infrastructure.
I've started…
John Kugelman
- 141
- 3
3
votes
1 answer
How to forcibly remove the resource created by the broken module?
I've created few dns_cname_record resources, however Terraform DNS provider started to throw the errors like:
Error: update server is not set
I've created the bug report for it, as it prevents me from running any Terraform command. The error is…
kenorb
- 7,841
- 12
- 40
- 77
3
votes
3 answers
How to cache node_modules folder when using Jenkins Multibranch Pipeline
I'm using Jenkins Multibranch Pipeline to handle my CI/CD and I'd like to know if is there a way to cache my node_modules folder?
Every time I push a branch, I execute yarn to install the dependencies. when is master branch, it took 1s to execute…
Pedro Arantes
- 133
- 1
- 1
- 5
3
votes
2 answers
What is the difference between RUN and CMD in a Dockerfile?
I am going to change my permission of files to 600. The following command works perfectly.
RUN /bin/bash -c 'chmod 600 /root/.ssh/config'
But this one failed
CMD /bin/bash -c 'chmod 600 /root/.ssh/config'
In the beginning, I thought the shell…
rj487
- 143
- 1
- 6
3
votes
0 answers
Kubernetes metric or command to show liveness delay time (app startup time)
HTTP Kubernetes liveness and readiness checks are configured as per the documentation.
The initialDelaySeconds field tells the kubelet how long it should wait before performing the first liveness / readiness probe.
In this official blog article by a…
JamesJJ
- 161
- 2
- 5
3
votes
2 answers
What artifact managers are available in GCP?
I use Artifactory and Nexus3, but I wonder what artifact manager could be used in GCP? Is there a managed artifact manager or do I have to run one myself in a VM?
030
- 13,235
- 16
- 74
- 173
3
votes
1 answer
Is there a DevOps methodology aimed towards academia and students?
I am still learning about DevOps, I wonder in Academia the workloads can often be quite heavy, I noticed there are variations on the DevOps methodology, e.g. DataOps and DevSecOps.
I wonder if there is something like StudentOps or similar to this…
SomeT
- 131
- 2
3
votes
1 answer
Is there a way to acquire metadata about an Amazon RDS database instance using only SQL?
For example, if I have a SQL Server instance in RDS, and I have only a connection string to connect to the server, is there a sproc or some pre-configured tables I can access via SQL on the instance that would report the instance size string?…
Triynko
- 131
- 1
3
votes
1 answer
Azure virtual machine stalls in R due to parallel package
I am writing an R package with tests using the testthat package. The tests pass locally and on Travis.
I want to plot the benefit of parallelisation on up to 24 cores, so I set up a virtual machine programmatically on Azure:
az vm create \
…
miguelmorin
- 181
- 5