Top "Ansible-2.x" questions

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy.

Ansible: compare variables

I am trying to compare some variables so here is my case: pg_master_ip is an ip obviously. ansible …

ansible ansible-2.x ansible-inventory
In Ansible, How to connect to windows host?

I have been stuck with Ansible window module. I am just trying to ping windows machine.But i get 'connect …

ansible ansible-2.x
Ansible ad-hoc command with direct host specified - no hosts matched

I am running a 16.04 Ubuntu desktop machine using VirtualBox. This VM has Ansible 2.4.0 installed. I am trying to run an …

linux ansible ansible-2.x
Ansible 2.1.0 using become/become_user fails to set permissions on temp file

I have an ansible 2.1.0 on my server, where I do deployment via vagrant and on PC too. The role "deploy" …

git vagrant ansible sudo ansible-2.x
ansible conditional templates

I want to have a simple if else condition in ansibles jinja templates. For plain python cluster_name+'A' if …

python ansible jinja2 ansible-2.x ansible-template
How to delete local directory with ansible

I have to make delete some directory and create them on local before copy to the remote. Is there anyway …

ansible ansible-2.x
get a particular host name's ip with ansible

I have a host file that looks roughly like this: [kibanamaster] efk host_ip host user passwd [elasticnode] esnode host_…

ansible ansible-2.x ansible-inventory
Ansible - how to evaluate role_path variable

I'm trying to evaluate the value of the role_path variable in order to use it in other roles as …

path ansible jinja2 ansible-2.x
Ansible - get variables from group_vars and host_vars together into a list

I am trying to get from an inventory group a list of IP addresses instead of host names. These IP …

ansible ansible-2.x ansible-inventory
How to convert a dictionary of dictionaries into a list of dictionaries in a Ansible vars file?

Within an Ansible vars file, I want to convert a dict of dicts into a list of dicts that I …

dictionary ansible jinja2 ansible-2.x