Re: [ansible-project] [1.9.4] Using yum to install groups - 'state: latest' does not work but 'state: present' works

2015-12-26 Thread Asfand Yar Qazi
I was just following the Ansible yum module's example, as they specified '@Development tools', is that wrong then? Thanks Regards, Asfand Yar Qazi On 24 December 2015 at 14:42, Toshio Kuratomi wrote: > > On Dec 23, 2015 3:39 AM, "Asfand Yar Qazi"

[ansible-project] Re: How to use external variable inside an ansible inventory file.

2015-12-26 Thread pixel fairy
theres probably an easier way, but since your setting up for a dynamic inventory, you might as well use it. http://docs.ansible.com/ansible/developing_inventory.html heres an example in python for lxc containers. #!/usr/bin/env python import yaml import json with open('containers.yml') as