Top "Ansible" questions

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

Is Ansible a replacement for a CI tool like Hudson/Jenkins?

Recently, in our company, we decided to use Ansible for deployment and continuous integration. But when I started using Ansible …

jenkins hudson ansible
How to fix "Could not match supplied host pattern, ignoring: bigip" errors, works in Ansible, NOT Tower

I am running Ansible Tower v3.4.1 with Ansible v2.7.6 on an ubuntu 16.04 VM running on VirtualBox. I run a playbook …

ansible ansible-inventory
Is it possible to write Ansible hosts/inventory files in YAML?

In the best practices page, there is an example that uses hosts.yml for hosts files: In the docs, however, …

ansible ansible-inventory
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
Ansible Galaxy roles install in to a specific directory?

So I figured I should start using Ansible Galaxy when possible, instead of writing my own roles. I just installed …

kubernetes ansible ansible-galaxy
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
Ansible: ansible_user in inventory vs remote_user in playbook

I am trying to run an Ansible playbook against a server using an account other than the one I am …

ansible ansible-2.x ansible-inventory
SSH Agent Forwarding with Ansible

I’m using Ansible 1.5.3 and Git with ssh agent forwarding (https://help.github.com/articles/using-ssh-agent-forwarding). I can log into …

git ssh ansible ssh-agent
Running a playbook on multiple host groups one at a time

I want to run a playbook containing some roles on multiple host groups I create dynamically with the group_by …

ansible ansible-2.x ansible-inventory
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