[ansible-project] Sending ad-hoc command to background

2016-06-19 Thread Marc Becker
Hi, I've bought the book Ansible DevOps and now I'm experimenting with vagrant and ansible. In the book I found the following command: ansible multi -s -B 3600 -a "yum -y update" As I understood, this should start the update task in background. Progress can be viewed in the ansible_async

[ansible-project] Dict - How to get correct values

2016-10-15 Thread Marc Becker
Hi, I'm trying to set the hostname according to the facts gathered by ansible. I've created a role named "common" with a file "main.yml" in defaults-folder: --- common_hostname: { name: "{{ ansible_hostname }}", fqdn: "{{ ansible_fqdn }}" } In this role I've added a debug task: - debug: