Top "Ansible-playbook" questions

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

Nginx error: (13: Permission denied) while connecting to upstream

I am getting this error in my nginx-error.log file: 2014/02/17 03:42:20 [crit] 5455#0: *1 connect() to unix:/tmp/uwsgi.sock failed (13: Permission denied) …

nginx flask uwsgi ansible-playbook
Ansible: Get all the IP addresses of a group

Let's imagine an inventory file like this: node-01 ansible_ssh_host=192.168.100.101 node-02 ansible_ssh_host=192.168.100.102 node-03 ansible_ssh_host=192.168.100.103 node-04 …

ansible jinja2 ansible-playbook
Ansible Playbooks vs Roles

According to the Ansible docs, a Playbook is: ...the basis for a really simple configuration management and multi-machine deployment system, …

ansible ansible-playbook
Copy local file if exists, using ansible

I'm working in a project, and we use ansible to create a deploy a cluster of servers. One of the …

ansible ansible-playbook infrastructure
Ansible remote_user vs ansible_user

The question is simple: what is the difference between ansible_user (former ansible_ssh_user) and remote_user in Ansible, …

ansible ansible-playbook ansible-2.x
ansible: include role in a role?

Is it possible to reuse a role in a role? I do not mean via defining a dependency in the …

ansible ansible-playbook
iteration using with_items and register

Looking for help with a problem I've been struggling with for a few hours. I want to iterate over a …

ansible ansible-playbook ansible-2.x
How can I test jinja2 templates in ansible?

Sometimes I need to test some jinja2 templates that I use in my ansible roles. What is the simplest way …

ansible jinja2 ansible-playbook ansible-template
How do you stop Ansible from creating .retry files in the home directory?

When Ansible has problems running plays against a host, it will output the name of the host into a file …

ansible ansible-playbook devops
Append list variable to another list in Ansible

is it possible to append a variable list to a static list in ansible? I can define the whole list …

jinja2 ansible ansible-playbook