Most viewed questions in DevOps & Agile

0 votes
1 answer

How to take user input in Ansible?

Hi@akhtar, To ask for user input, we will ...READ MORE

Aug 10, 2020 in Ansible by MD
• 95,440 points
3,216 views
+1 vote
2 answers

Delete a git branch locally and remotely

Deleting a remote branch: git push origin --delete ...READ MORE

Aug 20, 2018 in Git & GitHub by Nilesh
• 7,050 points
3,208 views
0 votes
2 answers

Error - trustAnchors parameter must be non-empty

This fixed the problem for me on ...READ MORE

Aug 17, 2018 in Jenkins by Nilesh
• 7,050 points
3,207 views
+5 votes
2 answers

Redirecting host to service path in kubernetes

What you are trying to do is ...READ MORE

Mar 27, 2018 in Kubernetes by DragonLord999
• 8,450 points
3,201 views
0 votes
0 answers

Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running?

I've tried every option I could find ...READ MORE

Apr 18, 2022 in Docker by pranav
• 2,590 points
3,198 views
0 votes
1 answer

How to setup which trigger email notification to email id's in Jenkins pipeline script at every stage?

Hi@Shashi, You need to install some plugins in ...READ MORE

Sep 18, 2020 in Jenkins by MD
• 95,440 points
3,198 views
0 votes
1 answer

Running a playbook using Ansible on Jenkins

Hey, @Asha seems like you've added a ...READ MORE

Apr 4, 2019 in Ansible by Akhil
3,198 views
0 votes
1 answer

Warning saying "It appears that your reverse proxy set up is broken."

 As noted in the Jenkins Wiki, "The ...READ MORE

May 16, 2019 in Jenkins by Haider
3,195 views
0 votes
1 answer

Difference between RUN and CMD in a docker file and when to use one or the other.

Here are the explanations for all the ...READ MORE

Nov 17, 2018 in DevOps & Agile by Damon Salvatore
• 5,980 points
3,193 views
0 votes
1 answer

Publishing npm publish to nexus group repo

Group cannot be published. I'll suggest you ...READ MORE

Jun 22, 2018 in Other DevOps Questions by DareDev
• 6,890 points
3,188 views
0 votes
1 answer

Ubuntu and updating Docker

Try this sudo sh -c "wget -qO- https://get.docker.io/gpg ...READ MORE

Aug 1, 2018 in Docker by Kalgi
• 52,360 points
3,180 views
0 votes
1 answer

How to install telnet in Docker for Windows 10?

If you are trying to telnet in ...READ MORE

Aug 28, 2018 in Docker by Tyrion anex
• 8,700 points
3,179 views
0 votes
1 answer

kubelet, minikube Back-off restarting failed container

Hi@akhtar, You may get this error if you ...READ MORE

May 22, 2020 in Kubernetes by MD
• 95,440 points
3,177 views
0 votes
1 answer

How to use Azure DevOps Pipelines Machine File Copy Using Environments?

The files are initially copied to an ...READ MORE

Mar 21, 2022 in DevOps & Agile by gaurav
• 23,260 points
3,176 views
0 votes
1 answer

[preflight] WARNING: ebtables not found in system path

Hi@akhtar, you may be missing ebtables, ethtool, or a similar ...READ MORE

Jul 16, 2020 in Kubernetes by MD
• 95,440 points
3,169 views
0 votes
1 answer

How to install mongodb on centos 7 using ansible

Hi@Shashi, I think for MongoDB you need to ...READ MORE

Sep 16, 2020 in Ansible by MD
• 95,440 points
3,165 views
0 votes
0 answers

git fatal Could not read from remote repository

I want to set git with http://danielmiessler.com/study/git/#website to manage ...READ MORE

May 20, 2022 in Git & GitHub by Kichu
• 19,050 points
3,160 views
0 votes
1 answer

Store ec2 instance IP using ansible playbook

Hey @Himanshu, you can use something like ...READ MORE

Mar 25, 2019 in Ansible by Yesha
3,159 views
0 votes
1 answer

How to download the latest minor version of nexus artifact using REST?

If you're using nexus 2.x, you can ...READ MORE

Jun 27, 2018 in DevOps Tools by ajs3033
• 7,300 points
3,152 views
+1 vote
2 answers

Should I commit Terraform State files to the git repository?

Its better not to commit it to ...READ MORE

Aug 3, 2018 in DevOps & Agile by Nilesh
• 7,050 points
3,149 views
0 votes
1 answer

How to remove old file using Ansible?

Hi@akhtar, You can remove your files using Ansible. ...READ MORE

Sep 17, 2020 in Ansible by MD
• 95,440 points
3,147 views
0 votes
1 answer
0 votes
2 answers

How do I update all my pods if the image changed but the tag is the same? - Kubernetes

Make sure your imagePullPolicy is set to Always(this is the ...READ MORE

Aug 6, 2019 in Kubernetes by Sirajul
• 59,230 points
3,144 views
0 votes
2 answers

/tmp/jenkins7925067706776714433.sh: ./deploy: Permission denied in jenkins

To avoid this error, You should add ...READ MORE

Mar 31, 2020 in Jenkins by akhtar
• 38,230 points
3,142 views
0 votes
1 answer

Which one to choose? Minikube vs Kubernetes in Docker for Windows

Docker Toolbox and minikube always use a ...READ MORE

Oct 9, 2018 in Docker by Sophie may
• 10,610 points
3,142 views
+1 vote
1 answer

Can pods mount NFS volume?

Yes, there's an example here of both ...READ MORE

Jul 15, 2019 in Kubernetes by Sirajul
• 59,230 points
3,139 views
0 votes
1 answer

distinguish allowed_hosts and cors_origin_regex_whitelist in django?

ALLOWED_HOSTS as in docs is quite self ...READ MORE

Jul 6, 2018 in DevOps Tools by ajs3033
• 7,300 points
3,139 views
+1 vote
1 answer

How to mount private SSH key on Docker for Windows container?

You could use a volume with -v ...READ MORE

Oct 25, 2018 in Docker by Sophie may
• 10,610 points
3,136 views
0 votes
1 answer

How to encrypt and existing file using Ansible Vault?

Hey @Kyraa, to encrypt an existing file ...READ MORE

Jan 29, 2019 in Ansible by Kavya
3,131 views
0 votes
1 answer

How to forward port '8080 (container)->8080 (service)-> 8080 (ingress)->80 (browser)'?

The ingress is exposing port 80 externally ...READ MORE

Jul 19, 2019 in Kubernetes by Sirajul
• 59,230 points
3,129 views
0 votes
1 answer

Error: One or more undefined variables: 'unicode object' has no attribute 'repo'

Hey change this in your role with_items: apt_repos By ...READ MORE

Mar 14, 2019 in Ansible by Haseeb
3,126 views
0 votes
1 answer

"Connection reset by peer: socket write error" while uploading the artifact to nexus from jenkins

Try to enable the unsecure renegotiation by ...READ MORE

Oct 19, 2020 in Jenkins by Neha
3,122 views
0 votes
1 answer

One loop over multiple Ansible tasks

With_items has unfortunately stopped but it’s coming ...READ MORE

Jul 23, 2018 in Ansible by Kalgi
• 52,360 points
3,122 views
0 votes
1 answer

Is there any way to encrypt --private-key with ansible-vault and use it encrypted with Ansible Playbook

Hey @Kajol, Create a passphrase for the key openssl ...READ MORE

Jan 29, 2019 in Ansible by Anupam
3,120 views
0 votes
1 answer

Init could not choose ip address error while doing docker swarm init

First look for the public IP of ...READ MORE

Aug 23, 2018 in Docker by Nilesh
• 7,050 points
3,118 views
0 votes
1 answer

using docker-compose with docker-swarm : can swarm build an image from a dockerfile?

Yes, you could integrate the two of ...READ MORE

Jul 8, 2019 in Docker by Sirajul
• 59,230 points
3,113 views
+2 votes
3 answers

Using attributes in Chef

There are 6 different types of attributes: default: A default attribute ...READ MORE

Oct 23, 2018 in Chef by Aditya
3,107 views
0 votes
1 answer

Multilines in shell script inside Ansible playbook

You could write your playbook in this ...READ MORE

Jan 25, 2019 in Ansible by Donna
3,105 views
0 votes
1 answer

How to create a firewall rule using Ansible Playbook?

Hi@akhtar, Ansible has a module named firewalld to ...READ MORE

Sep 2, 2020 in Ansible by MD
• 95,440 points
3,099 views
0 votes
0 answers

How to mirror an Azure DevOps repository to a gitlab one

I have deployed my own GitLab server ...READ MORE

Apr 19, 2022 in Other DevOps Questions by Kichu
• 19,050 points
3,097 views
0 votes
1 answer

What is the difference between “expose” and “publish” in Docker?

Basically, you have three options: Neither specify EXPOSE nor -p -> ...READ MORE

Jul 18, 2018 in Docker by Nilesh
• 7,050 points
3,096 views
0 votes
1 answer

Python script to decrypt while running the playbook - Ansible Vault

Ansible provides a feature where you can ...READ MORE

Mar 7, 2019 in Ansible by William
3,082 views
0 votes
1 answer
0 votes
1 answer

Could not find default credentials

Use gcloud auth application-default login to login for application ...READ MORE

Aug 30, 2018 in Kubernetes by Kalgi
• 52,360 points
3,071 views
0 votes
1 answer

Puppet+Docker: Using Docker-Compose with Puppet

Docker Compose describes a set of containers ...READ MORE

Aug 14, 2019 in Puppet by Sirajul
• 59,230 points
3,055 views
0 votes
1 answer

Unarchive module overwriting - Ansible

Hey @joe, you can use the create option, ...READ MORE

Jan 30, 2019 in Ansible by Khadeer
3,053 views
0 votes
2 answers

will running multiple Jenkins masters on same host increase the performance?

While using one big master, u can ...READ MORE

Aug 7, 2018 in Jenkins by Kalgi
• 52,360 points
3,048 views
0 votes
1 answer

* spec.accessModes: Required value: at least 1 access mode is required

Hi@akhtar, To create persistent volume, you have to ...READ MORE

May 22, 2020 in Kubernetes by MD
• 95,440 points
3,046 views
0 votes
1 answer

How to connect to Vault server

You need to configure the back end ...READ MORE

Jul 12, 2018 in DevOps Tools by Kalgi
• 2,680 points
3,043 views