Trending questions in DevOps & Agile

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,961 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,249 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,752 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,665 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,466 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,322 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,231 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,056 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,753 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

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
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
662 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,803 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
838 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,886 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,376 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,364 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,885 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,136 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,419 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
597 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
0 votes
2 answers

fatal: refusing to merge unrelated histories.

Try, git pull origin master --allow-unrelated-histories READ MORE

Aug 1, 2020 in Git & GitHub by Sasi
5,690 views
0 votes
1 answer

How to start httpd service in a remote system using Ansible?

Hi@akhtar, Ansible has a module named service. This ...READ MORE

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

How to copy folders using url in windows in ansible?

Hi@akhtar, You can find the win_get_url module. This ...READ MORE

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

I have added ceph storage as PV to Kubernetes. Can I create multiple volume claims from that?

Yes, you can do it. A Persistent ...READ MORE

Sep 24, 2020 in Kubernetes by Vishwanath

edited Oct 6, 2021 by Sarfaraz 941 views
0 votes
1 answer

Is it possible to start ec2 Windows machine and run windows command using ansible playbook?

Hi@Lakshminarayanan, Yes, you can do that. But after ...READ MORE

Aug 14, 2020 in Ansible by MD
• 95,460 points
2,683 views