|
|
@ -96,6 +96,10 @@ class ActionModule(object):
|
|
|
|
vv("added host to group via add_host module: %s" % group_name)
|
|
|
|
vv("added host to group via add_host module: %s" % group_name)
|
|
|
|
result['new_groups'] = groupnames.split(",")
|
|
|
|
result['new_groups'] = groupnames.split(",")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# actually load host vars
|
|
|
|
|
|
|
|
new_host.vars = inventory.get_host_variables(new_name, update_cached=True, vault_password=inventory._vault_password)
|
|
|
|
|
|
|
|
|
|
|
|
result['new_host'] = new_name
|
|
|
|
result['new_host'] = new_name
|
|
|
|
|
|
|
|
|
|
|
|
# clear pattern caching completely since it's unpredictable what
|
|
|
|
# clear pattern caching completely since it's unpredictable what
|
|
|
|