Top "Ansible-playbook" questions

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

how to specify user name in host file of ansible

I am using the host file as below, [qa-workstations] 10.39.19.190 ansible_user=test ansible_ssh_pass=test I am using below …

ansible ansible-playbook ansible-inventory
How to get the installed yum packages with Ansible?

I am trying to get all the installed yum package on an RHEL machine. I can easily get it through …

ansible ansible-playbook idempotent
How to create dynamic variables in ansible

The real scenario, want to get a resource id of sqs in AWS, which will be returned after the execution …

ansible ansible-playbook ansible-awx
Ansible Service Restart Failed

I've been having some trouble with restarting the SSH daemon with Ansible. I'm using the latest software as of May 11 2015 (…

ansible ansible-playbook sshd
Ansible: playbook calling Role in a directory that is in the roles directory

I would like to shape my directory structure of my ansible roles and playbooks. Currently I have a directory structure …

ansible ansible-playbook ansible-tower
How do I use remote machine's SSH keys in ansible git module

I've been trying to get Ansible to provision a remote machine, and I want the remote machine to be set …

git ssh ansible ssh-keys ansible-playbook
List all ansible hosts from inventory file for a task

For a backup I need to iterate over all hosts in my inventory file to be sure that the backup …

ansible ansible-playbook ansible-inventory
Filter a substring matching a pattern from an ansible variable and assign matched substring to another variable

Let's say we have a long ansible string variable mystr. We have a regex pattern say substr_pattern and a …

ansible ansible-playbook ansible-2.x
Ansible, role not found error

I try to play following playbook against localhost to provision Vagrant machine --- - hosts: all become: yes roles: - …

configuration vagrant ansible ansible-playbook provisioning
is it possible to add ansible_ssh_common_args in inventory file

i want to jump/SSH Bastion Host using ProxyCommand of ansible_ssh_common_args. ansible server:10.10.149.2 gateway/Bastion host:10.10.149.70 host …

ansible ansible-playbook ansible-2.x