Trending questions in DevOps & Agile

0 votes
1 answer

Dockerfile to install nginx on Ubuntu

Hey @Greg, this is a simple dockerfile ...READ MORE

Jul 23, 2019 in Docker by User101
18,814 views
0 votes
1 answer

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Either region or ec2_url must be specified"}

Hi@akhtar, You got this error because you did ...READ MORE

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

How to delete a remote Git tag?

Hi@MD, It is very simple to delete a ...READ MORE

Sep 4, 2020 in Git & GitHub by akhtar
• 38,260 points
1,127 views
0 votes
2 answers

Can I configure my virtual machine as slave in Jenkins?

The first step is the VirtualBox cloud ...READ MORE

Aug 26, 2020 in DevOps Tools by Pistle
• 1,000 points
5,876 views
0 votes
1 answer

How to configure Grafana on Docker?

Hi@akhtar, You need to pull the Grafana image ...READ MORE

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

How to launch an EC2 instance using Ansible Playbook?

Hi@akhtar, Ansible has one module named ec2. This ...READ MORE

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

How to add ConfigMap data to a Volume in a Pod?

Hi@akhtar, When you create a ConfigMap using --from-file, the ...READ MORE

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

How to install httpd web server in remote node using Ansible?

Hi@akhtar, You need to use the package module in Ansible. ...READ MORE

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

How to use loop in Ansible playbook?

Hi@akhtar, Sometimes you want to repeat a task ...READ MORE

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

Error: UPGRADE FAILED: failed to create resource: namespaces "pr-1627-app " not found

Hi@akhtar, This usually happens when the state of ...READ MORE

Jul 9, 2020 in Kubernetes by MD
• 95,460 points
3,454 views
0 votes
1 answer

bash: mvn: command not found.Failed to search for file: Cannot update read-only repo

Hi@akhtar, You got this error because you didn't ...READ MORE

Jun 3, 2020 in DevOps & Agile by MD
• 95,460 points
4,995 views
+1 vote
1 answer

:./gradlew: not found with docker, while hosting the host directory in container

Hi@Reprator, As you said you are a beginner ...READ MORE

Aug 4, 2020 in DevOps & Agile by MD
• 95,460 points
2,290 views
0 votes
1 answer

Do docker containers have their own kernel and CPU?

Hi@akhtar, No. Docker image/container only has the application ...READ MORE

Mar 23, 2020 in Docker by MD
• 95,460 points
8,111 views
0 votes
1 answer

How to import files in Ansible-Playbook?

Hi@akhtar, You can use vars_files keyword in Ansible. ...READ MORE

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

Failed to restart grafana.service: Unit not found.

Hi@akhtar, After installing grafana in your system, you ...READ MORE

May 27, 2020 in DevOps & Agile by MD
• 95,460 points
5,279 views
0 votes
1 answer

ansible ssh and user module issue with edureka VM

Hi@Konakanchl, I guess you need to give your ...READ MORE

Jul 23, 2020 in Ansible by akhtar
• 38,260 points
2,818 views
0 votes
1 answer

How to configure yum using Ansible Playbook?

Hi@akhtar, You need to use the yum_repository module ...READ MORE

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

How to install Logstash in CentOS/RHEL?

Hi@akhtar, To install Logstash on the system, you ...READ MORE

Jun 17, 2020 in DevOps Tools by MD
• 95,460 points
4,346 views
+1 vote
1 answer

How to run jenkins service inside docker container?

Hi@akhtar, By default systemctl command will not run ...READ MORE

May 12, 2020 in Docker by MD
• 95,460 points
5,870 views
0 votes
1 answer

How to get minishift console?

Hi@akhtar, After the successful installation of Minishift, you ...READ MORE

Aug 19, 2020 in DevOps Tools by MD
• 95,460 points
1,579 views
+2 votes
1 answer

stderr: remote: Invalid username or password.

Hi@akhtar, If your code is available in jenkins ...READ MORE

May 7, 2020 in Jenkins by MD
• 95,460 points
6,018 views
0 votes
1 answer

How to use the pipeline setup and deploy the war file using the ansible,docker and kubernettes

Hi@Venkata, You can create an Ansible-Playbook to deploy ...READ MORE

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

is there a way how to finish in-progress slave builds if Jenkins master goes offline

Hi@, You can assign your Jenkins Job to ...READ MORE

Jun 30, 2020 in Jenkins by MD
• 95,460 points
3,694 views
0 votes
1 answer

How to add user to a group in Minishift?

Hi@akhtar, You can add a user to a ...READ MORE

Aug 19, 2020 in DevOps Tools by MD
• 95,460 points
1,534 views
0 votes
1 answer

How to trigger a build on commit to branch in declarative pipeline

Hi@Madhura, You can use triggers keyword in your ...READ MORE

Jul 9, 2020 in Jenkins by MD
• 95,460 points
3,325 views
0 votes
1 answer

How to use conditions in Ansible-Playbook?

Hi@akhtar, Traditional programming language usually uses the if-else ...READ MORE

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

error creating aufs mount to /var/lib/docker/aufs/mnt/6c1b42ce1a98b1c0f2da7f1-init: invalid argument

Hi@akhtar, To solve this error, you have to ...READ MORE

Apr 16, 2020 in Docker by MD
• 95,460 points
6,922 views
0 votes
1 answer

How to copy files in remote system using Ansible?

Hi@akhtar, You need to use the copy module ...READ MORE

Jul 30, 2020 in Ansible by MD
• 95,460 points
2,390 views
+1 vote
1 answer

How do I rename a local Git branch?

Hi@akhtar, You can rename your branch name. Sometimes ...READ MORE

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

How to deploy an Elasticsearch Cluster with Helm?

Hi@akhtar, You need to download the helm repo ...READ MORE

Jul 8, 2020 in Kubernetes by MD
• 95,460 points
3,263 views
0 votes
1 answer

How to add display name in the OpenShift project?

Hi@akhtar, You can add a display name or ...READ MORE

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

What is ConfigMap in Kubernetes?

Hi@akhtar, A ConfigMap is an API object used ...READ MORE

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

How to add several lines in a file using lineinfile module?

Hi@akhtar, When we need to perform a task ...READ MORE

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

How to convert ant project into a maven project??

Suppose for instance, you want to convert ...READ MORE

Feb 6, 2020 in DevOps Tools by anonymous
• 59,230 points
9,843 views
0 votes
1 answer

Importance of lineinfile module in Ansible.

Hi@akhtar, The lineinfile module will search a file ...READ MORE

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

How to create a ConfigMap from a file?

Hi@akhtar, You can pass in the --from-file argument multiple times ...READ MORE

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

ERROR: Inventory script (inventory/ec2.py) had an execution error: ERROR: "Authentication error retrieving ec2 inventory.

Hi@akhtar, You have to generate the AWS credentials ...READ MORE

Aug 21, 2020 in Ansible by MD
• 95,460 points
1,277 views
0 votes
1 answer

Error: unknown flag: --bash See 'kubectl exec --help' for usage.

Hi@akhtar, You got this error because you missed ...READ MORE

May 18, 2020 in Kubernetes by MD
• 95,460 points
5,358 views
0 votes
1 answer

How to create a new project in OpenShift?

Hi@akhtar, A Kubernetes namespace provides a mechanism to ...READ MORE

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

error: Failed to merge in the changes. hint: Use 'git am --show-current-patch' to see the failed patch Patch failed at 0001 b1

Hi@akhtar, You got this error because you have ...READ MORE

May 11, 2020 in Git & GitHub by MD
• 95,460 points
5,671 views
0 votes
1 answer

What is Handlers in Ansible?

Hi@akhtar, Handlers are just like normal tasks in an Ansible ...READ MORE

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

Install Jenkins Plugin from Jenkins CLI.

Hi@akhtar, You need to tell your Plugin name ...READ MORE

Jul 7, 2020 in Jenkins by MD
• 95,460 points
3,152 views
0 votes
1 answer

Uncaught Error: Call to undefined function mysqli_connect

Hi@akhtar, This error may occurred because “PHP mysqli plugin” is ...READ MORE

Apr 14, 2020 in Docker by MD
• 95,460 points
6,774 views
0 votes
1 answer

How to create a secret from literals in Minishift Cluster?

Hi@akhtar, You can create a secret using generic ...READ MORE

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

How to run a cron job inside a docker container?

Hii, crond works well with tiny on Alpine RUN apk add --no-cache ...READ MORE

May 18, 2020 in Docker by Niroj
• 82,840 points
5,271 views
+2 votes
1 answer

How do I trigger the puppet agent on slave to install docker using jenkins?

Hey @Mercy, you will have to write ...READ MORE

Aug 17, 2020 in Puppet by Karan
• 19,610 points
1,273 views
0 votes
1 answer
0 votes
1 answer

Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Connection closed before acknowledgement sent

Hi@akhtar, This type of error may occur because ...READ MORE

May 29, 2020 in Jenkins by MD
• 95,460 points
4,747 views