Trending questions in DevOps & Agile

0 votes
1 answer

Get ports using vagrant

You can get the correct ports using ...READ MORE

Feb 4, 2019 in Ansible by Husna
878 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,441 views
0 votes
1 answer

How do I backup my ansible playbooks?

In addition to the install.yml file included with your setup.sh setup ...READ MORE

Feb 4, 2019 in Ansible by Anushri
857 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,520 points
1,642 views
0 votes
1 answer

Playbook executed fine but output not as expected

Hey @Nisha, you've mentioned this line on ...READ MORE

Feb 7, 2019 in Ansible by Pragya
719 views
0 votes
1 answer

Upload encrypted file using ansible vault?

You can do this, make your playbook ...READ MORE

Jan 29, 2019 in Ansible by Faizal
1,082 views
+1 vote
2 answers

Accessing Kubernetes Web UI (Dashboard)

To access Kubernetes dashboard, you need to ...READ MORE

Apr 16, 2019 in Kubernetes by Ray
2,554 views
0 votes
1 answer

How do I improve performance for network playbooks?

Hey @Anjali, these are few of the ...READ MORE

Feb 1, 2019 in Ansible by Ani
974 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,709 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,702 views
0 votes
1 answer

Access Inventory file - Ansible

You can just use {{ ansible_ssh_host }} Inventory: [my_hosts] my_host ansible_ssh_host=127.0.0.1 ...READ MORE

Jan 24, 2019 in Ansible by Akansha
1,248 views
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
1,330 views
+3 votes
4 answers

Unable to build docker image

It looks like the dev dependencies were ...READ MORE

Oct 11, 2018 in DevOps & Agile by lina
• 8,220 points

edited Oct 17, 2018 by lina 5,968 views
0 votes
1 answer

Can't list the deployment resources using RBAC

"extensions" and "apps" API groups cover replicasets ...READ MORE

Dec 28, 2018 in Kubernetes by DareDev
• 6,890 points
2,396 views
0 votes
1 answer

How do I handle different machines needing different user accounts or ports to log in with?

Setting inventory variables in the inventory file ...READ MORE

Jan 31, 2019 in Ansible by Ansi
944 views
0 votes
1 answer

perform ansible task with variable undefines

Hey @Laksha, If a variable has not been set, ...READ MORE

Feb 4, 2019 in Ansible by Anushri
727 views
0 votes
1 answer

HTML in job descriptions on jenkins

Follow these steps: Step 1- go to manage ...READ MORE

Aug 7, 2018 in Jenkins by Nilesh
• 7,060 points
8,545 views
0 votes
1 answer

Restoring to an existing environment - Ansible

The restore contains the following: Dump of the ...READ MORE

Feb 4, 2019 in Ansible by Anushri
689 views
0 votes
1 answer

where to install Ansible galaxy?

Hey Gayatri, This can be done with ...READ MORE

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

How to add registry entries in bulk while building my image using Docker for Windows?

You can create a file for your ...READ MORE

Nov 26, 2018 in DevOps & Agile by Sophie may
• 10,620 points
3,687 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,439 views
0 votes
1 answer

Install snap

There is no snap module for ansible ...READ MORE

Feb 1, 2019 in Ansible by Anisha
788 views
0 votes
1 answer

Get rid of fake error logs

These two modules : failed_when and changed_when ...READ MORE

Feb 7, 2019 in Ansible by Pragya
522 views
0 votes
1 answer

Restoring to a different cluster - Ansible

Hey @Kiara, When you try to restore ...READ MORE

Feb 4, 2019 in Ansible by Anushri
646 views
+1 vote
1 answer

What ENTRYPOINT commands are needed in the dockerfile that adds php files into a container

Hope you are doing good! In this step, ...READ MORE

Dec 16, 2018 in Git & GitHub by Kiyara
2,827 views
0 votes
1 answer

What is ansible tower?

Hey @Nisha, Ansible Tower is Ansible at a ...READ MORE

Jan 25, 2019 in Ansible by Shankar
1,060 views
0 votes
1 answer

What files can be encrypted using the Ansible Vault?

Yes @Umang, Ansible Vault is used to ...READ MORE

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

Virtualization Infrastructure supported by Ansible

Yes, Vagrant supports Ansible, in-fact Ansible is ...READ MORE

Jan 25, 2019 in Ansible by Sai
1,057 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,625 views
0 votes
1 answer

Add a node in Ansible

Follow these steps @Ruth: Generate ssh key ssh-keygen Check the ...READ MORE

Jan 8, 2019 in Ansible by Haider
1,783 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,692 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,387 views
0 votes
1 answer

ignore_errors : true does not work as expected

Hey @Ali,  You can use the flag ignore_errors ...READ MORE

Jan 9, 2019 in Ansible by Lisa
1,768 views
0 votes
1 answer

Why nginx is not accessible from Swarm worker node.

Hey @Ali, your steps look perfectly fine ...READ MORE

Jan 3, 2019 in Docker by Vishnu
2,025 views
0 votes
1 answer

User on the target VM - Ansible

Yes @Nisha, You can run a shell ...READ MORE

Jan 28, 2019 in Ansible by Kavya
893 views
0 votes
1 answer

Ansible and NetApp provisioning

Ansible and NetApp hopped in as one ...READ MORE

Jan 25, 2019 in Ansible by Vivan
962 views
0 votes
1 answer

What is Ansible Vault?

Vault is something that holds the encrypted ...READ MORE

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

Can I use Kubespray without using kubespray_git_repo?

Hey @Sparsh, Obviously you can, follow these ...READ MORE

Jan 23, 2019 in Ansible by Shankar
1,062 views
0 votes
1 answer

Giving password configuration as Yes in SSHD_Config file ended up throwing an error

It looks like somehow your config file ...READ MORE

Jan 3, 2019 in Other DevOps Questions by Vishnu
1,908 views
0 votes
1 answer

Set an explicit inventory file - Kubespray

Hi @Isha, Go to /etc/ansible/ansible.cfg In the default section ...READ MORE

Jan 23, 2019 in Ansible by Yesha
998 views
0 votes
1 answer

Error after updating docker

Hey @Ali, try switching to 1.0.1 and ...READ MORE

Jan 8, 2019 in Docker by Vikas
1,636 views
0 votes
1 answer

Encrypt an encrypted file - Ansible Vault

Hey @Fez, This is one of the way ...READ MORE

Jan 29, 2019 in Ansible by Cerci
721 views
0 votes
1 answer

Where to find inventory file? - Kubespray

By default its located in /etc/ansible/hosts. You can ...READ MORE

Jan 23, 2019 in Ansible by Noor
941 views
0 votes
1 answer

Encryption using vault

Hey @Neha, unfortunately, that's not possible. You ...READ MORE

Jan 29, 2019 in Ansible by Nish
692 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,859 views
0 votes
1 answer

Mention Kubernetes version while using it with ansible

Hey @Dustin, The default value for roles is kube_version: ...READ MORE

Jan 22, 2019 in Ansible by Anushri
955 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,513 views
0 votes
1 answer

Ansible playbook to automate security configurations of an EC2 instance

Hey @Kiara, your indentation is very wrong. ...READ MORE

Jan 24, 2019 in Ansible by Harsh
894 views
0 votes
2 answers

How do you stop Ansible from creating .retry files in the home directory?

[defaults] ... retry_files_enabled = True # Create them ...READ MORE

Apr 5, 2019 in Ansible by anonymous
3,503 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
1,132 views