theforeman / foreman_ansible_inventory

Foreman dynamic inventory script for ansible - Now merged into Ansible itself
GNU General Public License v3.0
70 stars 31 forks source link

Check name #23

Closed agx closed 8 years ago

dLobatog commented 8 years ago

@agx When is main not set? If you call the inventory manually?

agx commented 8 years ago

On Fri, Aug 05, 2016 at 01:13:34AM -0700, Daniel Lobato García wrote:

@agx When is main not set? If you call the inventory manually?

It is only not set if you da a

import foreman_ansible_inventory

from another script. If you execute it, it's always set. -- Guido

dLobatog commented 8 years ago

Merged as 5cd9db77c4fa5fc61587f11f83db0c806ae72fa1, thanks @agx !