I'm using Ansible to check hosts if they need to be rebooted if the /vmlinuz kernel doesn't resolve to uname -r.
The if condition is although always identifing a reboot even though the test machine ...

In an Ansible playbook, I'd like to restart a service after updating config file, but only if it was already running.
I do not want to control the state of the service with ansible, only restart it ...

I get this error while trying to run a job in hudson
here is the log
Started by user anonymous
[workspace] $ /bin/bash -x /tmp/hudson3189813701500418318.sh
+ date
Thu Feb 19 17:02:03 EST 2015
+ fab ...

Is there any elegant way to manipulate OpenVZ containers with Ansible?
Sure I can install an SSH daemon on each and put my public keys, but as soon as there is a vzcl enter command maybe there is a ...

I am trying to do a git pull/push using ansible.
I am running ansible on one server and want to automate or orchestrate a git pull/push on a remote host.
Now since i didn't find a mmodule to do this ...

I am new to Ansible, but a long time programmer, also worked with puppet a bit.
Here is the situation, I need to initialize some network appliances, they don't talk bash so I'm using the raw module ...

I am trying to install mysql AND setup database using ANSIBLE on CentOS7(i have no idea why every documention in the world now ONLY talks about Ubuntu and NO CentOS anymore...really SAD!)
here is my ...

My broader question is about using Ansible to perform the late_command in a preseeded Debian/Ubuntu install.
The specific question is, is there some straightforward or documented way to get a working ...

I have a role that updates source code of my project from git, let name it source_tree. Git repository contains source used by multiple services so I want to restart all services using that source on ...

I am working on a Vagrant + Ansible configuration for my team that sets up a developer VM, some of the artifacts needed are only available from my corporate network either by being physically on it or ...

I have some task which I wish to delegate_to some hosts (finally I want to list them in some var rather than use group from inventory). For this question lets simplify this to (I did exactly the same ...

It's simple to set this variable in an ansible.cfg but it makes sense only for hosts that do not have sftp (and most likely python as well). So I have a group for routers – is it possible to set this ...

I'm having some issues with Ansible and the way it defaults to values. What I'm trying to accomplish is to bind a Docker container to on eth1, if it exists, otherwise use lo.
My initial approach was ...

I want to use Ansible to collect information from a number of servers. The information should be postprocessed locally, so it should be presented in a certain format. Other than grep and sed and awk ...

I two groups of hosts: dc1 and dc2. Also combined to a DC group.
I need to pass a list of IP addresses of hosts from a foreign DC to a command. with_items doesn't work here at all.
Should look like ...