Trending questions in DevOps & Agile

+2 votes
6 answers

copy directories in docker container excluding any one directory

One of the way could be copy ...READ MORE

Dec 10, 2018 in Docker by Prateek
34,902 views
0 votes
1 answer

How should we install Jenkins in a production environment on tomcat or as a service on Linux?

First;y install java after that download the ...READ MORE

Oct 8, 2020 in Other DevOps Questions by Soundarya Lanka
870 views
0 votes
1 answer

Jenkins : Problem with the script. Can anyone help?

Refer to user input... In Jenkins pipeline ...READ MORE

Sep 30, 2020 in Jenkins by Adil Abdullah Khan
1,191 views
0 votes
1 answer

{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}

Hi@akhtar, In your command, you have to mention ...READ MORE

Jun 16, 2020 in DevOps Tools by MD
• 95,460 points
5,728 views
0 votes
1 answer

How do we deploy a war ( from git to tomcat in ubuntu image ) using docker files?

Hi, If you want to clone your repo ...READ MORE

Sep 17, 2020 in Docker by MD
• 95,460 points
1,663 views
0 votes
1 answer

What are artifacts?

Artifacts are the final file that we ...READ MORE

Oct 8, 2020 in DevOps Tools by Rishi
735 views
0 votes
1 answer

How many docker services we can run in the single server?

You can run any number but depends ...READ MORE

Oct 8, 2020 in Docker by Kim
726 views
0 votes
1 answer

ERROR! - None of the provided paths was usable. Please specify a valid path with --roles-path

Hi@akhtar, You are trying to list down ansible roles ...READ MORE

Aug 20, 2020 in Ansible by MD
• 95,460 points
2,827 views
0 votes
1 answer

Set volume mount user group and file permissions in kubernetes

There's a setting in Pod Security Context ...READ MORE

Jan 16, 2019 in Kubernetes by ajs3033
• 7,300 points
27,963 views
0 votes
1 answer

How to create a group using Ansible Playbook?

Hi@akhtar, You can find one module named group ...READ MORE

Sep 1, 2020 in Ansible by MD
• 95,460 points
2,250 views
0 votes
1 answer

How to copy file inside a Pod in Kubernetes?

Hi@akhtar, You need to use the kubectl cp command ...READ MORE

Jul 5, 2020 in Kubernetes by MD
• 95,460 points
4,753 views
0 votes
1 answer

How to create a cloudfront distribution using Ansible?

Hi@akhtar, You can find one module named cloudfront_distribution ...READ MORE

Sep 30, 2020 in Ansible by MD
• 95,460 points
981 views
+2 votes
1 answer

How to plot graph inside docker container?

Hi@akhtar, To plot a graph we generally use ...READ MORE

May 19, 2020 in Docker by MD
• 95,460 points
6,666 views
0 votes
1 answer

How to automate the rollback of deployment when it fails using helm and without timeout?

As it turns out, there is an ...READ MORE

Sep 18, 2020 in Kubernetes by Kim
1,468 views
0 votes
1 answer

How to assemble files from a directory?

Hi@akhtar, Ansible has the assemble module. This module can ...READ MORE

Sep 17, 2020 in Ansible by MD
• 95,460 points
1,498 views
0 votes
2 answers

What is the command to restart jenkins through command line in linux?

On Ubuntu or Debian, when installed through apt-get/dpkg: $ ...READ MORE

Aug 1, 2019 in Jenkins by Sirajul
• 59,230 points
20,709 views
0 votes
1 answer

Getting 500 error code while Bitbucket-Jenkins integration.

Use generic webhook instead of bitbucket webhook. It ...READ MORE

Sep 21, 2020 in DevOps Tools by Krishnom
1,324 views
0 votes
1 answer

How to create a ConfigMap from literals?

Hi@akhtar, You can use kubectl create configmap with the --from-literal argument to ...READ MORE

Aug 31, 2020 in Kubernetes by MD
• 95,460 points
2,232 views
0 votes
1 answer

How to compare two branches in Git?

Hi@akhtar, You can use the git diff command ...READ MORE

Sep 4, 2020 in DevOps & Agile by MD
• 95,460 points
2,035 views
+4 votes
4 answers

perform Git checkout using Groovy script

To do git commit: def getGitCommit() { ...READ MORE

Dec 6, 2018 in DevOps Tools by Vaidya
34,059 views
0 votes
1 answer

How to write ansible script for installing jenkins on aws RHEL?

Check this out. https://github.com/geerlingguy/ansible-role-jenkins H ...READ MORE

Sep 24, 2020 in Ansible by smy
1,198 views
0 votes
1 answer

Hi Anyone can help me with logic catch in Jenkins? When deployment fails I need the script!

Try this: node { stage('Example') { try { ...READ MORE

Oct 6, 2020 in Jenkins by Adil
654 views
0 votes
1 answer

What is the ask_pass module in Ansible?

Hi@akhtar, Ask_pass is the control module in an ...READ MORE

Aug 11, 2020 in Ansible by MD
• 95,460 points
3,061 views
0 votes
1 answer

error: username system:admin is invalid for basic auth - verify you have provided the correct host and port and that the server is currently running.

Hi@akhtar, Instead of login with the system: admin, ...READ MORE

Aug 18, 2020 in DevOps Tools by MD
• 95,460 points
1 flag 2,754 views
0 votes
1 answer

sudo: no tty present and no askpass program specified - how to resolve this error

Hi@Roshin, When you use sudo command, it will ask ...READ MORE

Jun 11, 2020 in Docker by MD
• 95,460 points
5,719 views
0 votes
1 answer
0 votes
1 answer

Which is the best APM tool?

Best is subjective. However, Prometheus + Grafana, ...READ MORE

Oct 8, 2020 in Other DevOps Questions by Avishek Kumar
536 views
0 votes
1 answer

How do we list all the pods which are using the same service?

Hi, If you want to manage your pods ...READ MORE

Oct 5, 2020 in Kubernetes by MD
• 95,460 points
663 views
0 votes
1 answer

bash script, Write a script that will automatically provision 3 docker containers

Hi, It is very simple if you know ...READ MORE

Aug 17, 2020 in Docker by MD
• 95,460 points
2,804 views
0 votes
1 answer

Getting error while doing maven integration.

 I suggest you to check the integration ...READ MORE

Oct 5, 2020 in Other DevOps Questions by Kim
651 views
0 votes
1 answer

When I'm trying to reinstall Jenkins in cent OS, the secrets folder is not creating and Jenkins is not using port 8080.

Go to /etc/yum.repo.d and delete jenkins.io package. Then ...READ MORE

Sep 30, 2020 in Jenkins by Adil
866 views
0 votes
1 answer

Is it mandatory to have Ansible Controller Machine (ACM) and Jenkins Master on the same server/instance ?

Make git, Jenkins, Docker, ansible master as ...READ MORE

Sep 30, 2020 in Ansible by Adil
840 views
0 votes
1 answer

What is pod affinity and node affinity?

Node Affinity ensures that pods are hosted ...READ MORE

Jul 17, 2019 in Kubernetes by Sirajul
• 59,230 points
19,889 views
0 votes
3 answers

kubectl get ing gives no address in kubernetes ingress

 I had the same problem and I ...READ MORE

Apr 24, 2019 in Kubernetes by Chris
28,380 views
0 votes
1 answer

FAILED! => {"changed": false, "msg": "src and content are mutually exclusive"}

Hi@akhtar, You can't use content and src argument ...READ MORE

Aug 2, 2020 in Ansible by MD
• 95,460 points
3,366 views
+1 vote
1 answer

How to change the default IP address of docker bridge adapter?

Hi@akhtar, You can reconfigure the default bridge network ...READ MORE

May 11, 2020 in Docker by MD
• 95,460 points
6,895 views
+1 vote
1 answer

How to force “git pull” to overwrite local files?

Hi@akhtar, First, you need to download the latest from ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,460 points
1,887 views
0 votes
1 answer

How to login to Ansible Galaxy from command line?

Hi@akhtar, To login to Ansible Galaxy, you need ...READ MORE

Aug 28, 2020 in Ansible by MD
• 95,460 points
2,214 views
0 votes
1 answer

Boto3 not retrieving users from AWS Appstream. whats the issue?

Hi@Lakshminarayanan, I think you didn't get any output ...READ MORE

Sep 21, 2020 in DevOps on Cloud by MD
• 95,460 points
1,139 views
0 votes
1 answer
0 votes
1 answer

Error from server (NotFound): the server could not find the requested resource

Hi@akhatr, The following error might indicate that something ...READ MORE

Jul 16, 2020 in Kubernetes by MD
• 95,460 points
4,044 views
0 votes
1 answer

Add labels to nodes in Minishift.

Hi@akhtar, You can add labels to your nodes ...READ MORE

Oct 3, 2020 in DevOps Tools by MD
• 95,460 points
624 views
0 votes
1 answer

curl: (7) Failed connect to master-node:32602; Connection refused https://github.com/kubernetes/kubernetes/issues/37199

Hi@akhtar, I guess there is a problem with ...READ MORE

Aug 27, 2020 in Kubernetes by MD
• 95,460 points
2,216 views
0 votes
1 answer

How to configure httpd web server using Ansible Playbook?

Hi@akhtar, You need to write one program file ...READ MORE

Jul 30, 2020 in Ansible by MD
• 95,460 points
3,420 views
0 votes
1 answer

How to add policy to a service account in Minishift?

Hi@akhtar, You can add an SCC to your ...READ MORE

Oct 3, 2020 in DevOps Tools by MD
• 95,460 points
598 views
0 votes
1 answer

How to create a docker container using Ansible?

Hi@akhtar, You can use the docker_container module in ...READ MORE

Sep 20, 2020 in Ansible by MD
• 95,460 points
1,130 views