Top "Ansible-playbook" questions

Red Hat Ansible is a model-driven, configuration management, multi-node deployment/orchestration and remote task execution system.

Ansible notify handlers in another role

Can I notify the handler in another role? What should I do to make ansible find it? The use case …

ansible ansible-playbook
Ansible Timeout (12s) waiting for privilege escalation prompt

I'm having trouble running my Ansible playbook on AWS instance. Here is my version: $ ansible --version ansible 2.0.0.2 I created an …

amazon-ec2 ansible-playbook ansible-2.x
how to use include_vars in ansible

I have created my own custom library, I added my custom library in the common folder of my repository. In …

include ansible ansible-playbook ansible-vault
How to detect why Ansible playbook hangs during execution

Some of tasks I wrote start and never end. Ansible does not provide any errors or logs that would explain …

ubuntu deployment ansible ansible-playbook provisioning
How do I pass username and password while using Ansible Git module?

While doing clone, push or pull of a private git repository hosted internally (e.g. on a GitLab instance) with …

ansible ansible-playbook ansible-2.x
Conflicting action statement in ansible

I am getting the following error : Conflicting action statement in ansible. I tried to understand, my code seems to be …

ansible ansible-playbook ansible-2.x
Ansible writing output from multiple task to a single file

In Ansible, I have written an Yaml playbook that takes list of host name and the executes command for each …

ansible-playbook ansible-2.x
Correct way to create dynamic lists in Ansible

I'm looking for advice. I have the following code that creates a list dynamically that I can then later use …

ansible ansible-playbook ansible-2.x
Pass Ansible variables from one role (running on one host) to another role running on another host within the same playbook

I have a playbook that runs different roles on different hosts. Is it possible to pass a variable from one …

variables ansible roles ansible-playbook
how to read json file using ansible

I have a json file in the same directory where my ansible script is. Following is the content of json …

ansible ansible-playbook ansible-2.x