Hi Brian,
Thanks for the tip. I actually tried changing the hyphen to an underscore,
but no luck.
I think what's happening is that on Linux systems that aren't virtualized,
the 'ansible_virtualization_*' facts aren't getting set at all, so the
grouping mechanism can't handle it.
I'm thinking
Hi,
I'm pulling my hair out on this, but it's probably something simple. I'm
trying to create a dynamic group that has all our OpenVZ Guests in it.
So, in my 'site.yml' I have:
- name: Setup Groups
hosts: all
tasks:
- name: Create Groups based on OS
group_by: key=dist_{{
Hi everyone,
I'm still a bit new to Ansible. I really like it, but it can be a little
flummoxing at times for a beginner ;).
For example, I am probably going about this the wrong way, but consider
these lines from a playbook:
- name: Configure MTA to Local Only -- CIS 3.16
lineinfile: