Last active
May 13, 2019 14:49
-
-
Save cinek810/dcae61a64a72df47044d9872ebd8f3e1 to your computer and use it in GitHub Desktop.
Debug version of load.py - strange ansible issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@staticmethod | |
def load(data, variable_manager=None, loader=None): | |
print(data['hosts']) | |
if ('name' not in data or data['name'] is None) and 'hosts' in data: | |
if isinstance(data['hosts'], list): | |
data['name'] = ','.join(data['hosts']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment