Most voted questions in DevOps & Agile

0 votes
1 answer

Dockerfile to install MongoDB and create a default directory and end it with exposing it

Hey @Nisha, you could write a dockerfile ...READ MORE

Jan 22, 2019 in Docker by Pallavi
831 views
0 votes
1 answer

Dockerfile to install apache server and start httpd service on it.

Hey @Kali, That's pretty simple. You could have ...READ MORE

Jan 22, 2019 in Docker by Yesha
22,927 views
0 votes
1 answer

Install the HTTP package via docker file into centos base image.

Hey @Cerci, you can something like this: #HTTP ...READ MORE

Jan 22, 2019 in Docker by Kira
1,125 views
0 votes
1 answer

How to get details of playbook executions

Run these commands to enable logging before ...READ MORE

Jan 22, 2019 in Ansible by Tanishq
2,888 views
0 votes
1 answer

Execute ansible playbook on a docker container

Hey @Ram, you could use a dockerfile ...READ MORE

Jan 22, 2019 in Ansible by Vedant
5,623 views
0 votes
1 answer
0 votes
1 answer

Error saying " mapping values are not allowed in this context" while executing an ansible playbook

Hey, @Nishit seems like you've made a ...READ MORE

Jan 21, 2019 in Ansible by Emily
15,453 views
0 votes
2 answers

Error saying "Extraneous options or arguments" when trying to run an ansible playbook

ERROR! Extraneous options or arguments READ MORE

May 30, 2019 in Ansible by anonymous
4,372 views
0 votes
1 answer
0 votes
1 answer

Is it possible to run an Ansible Playbook in python script?

Hey @Cerci, Of course its possible. You ...READ MORE

Jan 17, 2019 in Ansible by Nicolas
15,070 views
0 votes
1 answer

Is it possible to run a playbook with a crontab?

Ofcourse you can run ansible playbook with ...READ MORE

Jan 17, 2019 in Ansible by Yesha
4,584 views
0 votes
2 answers

Execution of Ansible playbook now reflecting any changes

Hey @Moana, you playbook is missing the ...READ MORE

Jan 17, 2019 in Ansible by Sameer
552 views
0 votes
1 answer

Ansible playbook with jenkins not working

When you execute the playbook under Jenkins, ...READ MORE

Jan 17, 2019 in Ansible by Sameer
2,700 views
0 votes
1 answer

Execute a command using ansible playbook

Hey @Reshma, You can use the URI ...READ MORE

Jan 17, 2019 in Ansible by Sameer
5,047 views
0 votes
1 answer

Execute ansible playbook periodically

You could use include_role, according to the ...READ MORE

Jan 17, 2019 in Ansible by Kevin
1,093 views
0 votes
1 answer

Ansible playbook giving an error - all hosts have already failed - aborting

Hey @Ruth, you seem to have made ...READ MORE

Jan 17, 2019 in Ansible by Sameer
1,732 views
0 votes
1 answer

Error output difficult to read - Ansible

Hey @Lisha, you can use the callback ...READ MORE

Jan 17, 2019 in Ansible by Sameer
1,410 views
0 votes
1 answer

Setting Up Ansible Hosts

Hey @Sammer, follow these steps: Open the host's ...READ MORE

Jan 17, 2019 in Ansible by Sinha
358 views
0 votes
1 answer

Configuring SSH Access to the Ansible Hosts

Hey @Shakira, follow these steps: Execute the following ...READ MORE

Jan 17, 2019 in Ansible by Sam
1,013 views
0 votes
1 answer

destroying container after build success

Hey, Define your pipeline to clone the git ...READ MORE

Jan 17, 2019 in DevOps Tools by Hannah
• 18,570 points
1,216 views
0 votes
1 answer

Error saying "One or more undefined variables: 'ansible_facts' is undefined"

The command you've executed basically means run ...READ MORE

Jan 17, 2019 in Ansible by Karen
4,247 views
0 votes
1 answer

Issue while using lineinfile module - Ansible

The lineinfile task has to match both the ...READ MORE

Jan 17, 2019 in Ansible by Lavanya
708 views
0 votes
1 answer

lineinfile module in Ansible

You can use the lineinfile module for ...READ MORE

Jan 17, 2019 in Ansible by Emily
1,044 views
0 votes
1 answer

Remote host throwing error saying "Permission Denied" - Ansible

Hey @Patrick, Change the path of Ansible's remote_tmp ...READ MORE

Jan 16, 2019 in Ansible by Cerci
4,553 views
0 votes
1 answer

Role of subelement module in an Ansible playbook

Hey @Rahul thanks for a better question ...READ MORE

Jan 16, 2019 in Ansible by Emily
2,062 views
0 votes
1 answer

Ansible playbook to wget a file

Hey @Celia, one recommendation, try not using ...READ MORE

Jan 16, 2019 in Ansible by Vaishu
16,703 views
0 votes
1 answer

Ansible playbook for moving files from one node to another remote node

The best way to do this is: copy ...READ MORE

Jan 16, 2019 in Ansible by Nigya

edited Jan 18, 2019 by Vardhan 9,276 views
0 votes
1 answer

Ansible playbbok to copy files from one node to another remote node

You can create a playbook for copying ...READ MORE

Jan 16, 2019 in Ansible by Danica
3,833 views
0 votes
2 answers

Node unable to join cluster - saying token expired

@Eric's answer is on point. There's another ...READ MORE

Jan 16, 2019 in Kubernetes by Keshav
2,460 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,313 views
0 votes
1 answer

Kubernetes ingress unhealthy backend

Add a readinessProbe(copy your livenessProbe). It's explained ...READ MORE

Jan 16, 2019 in Kubernetes by DareDev
• 6,890 points
6,915 views
0 votes
1 answer

Filter lists by attributes - Ansible

Filter the dicts using selectattr_filter in combination with ...READ MORE

Jan 14, 2019 in Ansible by Haider
1,407 views
0 votes
1 answer

Error saying "DistributionNotFound jinja2<2.9"

Hey @Kiara, update your distribution instead of jinja ...READ MORE

Jan 14, 2019 in Ansible by Rahul
374 views
0 votes
1 answer

Run Ansible adhoc commands in sequence

Hey @Thomas, by default ansible runs these ...READ MORE

Jan 14, 2019 in Ansible by Barbara
1,358 views
0 votes
1 answer

Running Ansible Bash profile shows messages everytime a terminal is opened

Change the bash profile to read like ...READ MORE

Jan 14, 2019 in Ansible by Cobe
1,391 views
0 votes
1 answer

Showing different Ansible version

Seems like you have two versions of ...READ MORE

Jan 14, 2019 in Ansible by Natasha
529 views
0 votes
1 answer

Error saying "No packages marked for update" when trying to install ansible using yum

If you're just trying to upgrade to ...READ MORE

Jan 14, 2019 in Ansible by Nippun
1,467 views
0 votes
1 answer

Trying to install a program from ansible playbook on vagrant but ends up failing

Hey @Rajni, you can register the variable ...READ MORE

Jan 13, 2019 in Ansible by Mike
622 views
0 votes
1 answer

Error saying "ImportError: No module named ansible.playbook" when installing Ansible on AWS

Hey Loki, Looks like your python library ...READ MORE

Jan 13, 2019 in Ansible by Patrick
14,148 views
0 votes
0 answers

Error saying "Some index files failed to download. Thet have been ignored, or old ones used instead"

I'm trying to install ansible in my ...READ MORE

Jan 13, 2019 in Jenkins by Lisha
1,261 views
0 votes
1 answer

Kuberentes: pulling image from private repo

You'll have to refer to the secret ...READ MORE

Jan 11, 2019 in Kubernetes by ajs3033
• 7,300 points
503 views
0 votes
2 answers

How do i install Ansible using virtualenv

Adding to @Mohit's answer,  For CentOS and RHEL: sudo ...READ MORE

Jan 10, 2019 in Ansible by Dikinson
5,208 views
0 votes
1 answer

Install Ansible on Hp UX

Hey @Diana, You cannot use HP -UX as ...READ MORE

Jan 10, 2019 in Ansible by Niks
1,273 views
0 votes
1 answer

Error saying "Failed to find required executable npm in paths"

Hey @Thomas,  Seems like those extra paths have ...READ MORE

Jan 10, 2019 in Ansible by Naina
2,594 views
0 votes
1 answer

Install Ansible using cygwin

Follow these steps to install ansible using ...READ MORE

Jan 10, 2019 in Ansible by Kush
8,056 views
0 votes
1 answer

Install ansible galaxy roles

Here is a very basic example that ...READ MORE

Jan 10, 2019 in Ansible by Disha
535 views
0 votes
1 answer

Install multiple roles - Ansible

You'll need a requirements.yaml file which will ...READ MORE

Jan 10, 2019 in Ansible by Rishi
1,875 views
0 votes
2 answers

Control machine requirements for Installing Ansible

Ansible can be run from any machine ...READ MORE

May 13, 2019 in Ansible by anonymous
1,506 views
0 votes
1 answer

Is it possible to run commands on ansible host?

If you just trying to run a ...READ MORE

Jan 10, 2019 in Ansible by Vijay
1,249 views
0 votes
1 answer

Provide Ansible with sudo passwords

These are the exact situations where we ...READ MORE

Jan 10, 2019 in Ansible by Noor
363 views