Exemplo n.º 1
0
def check_args(module, warnings):
    if SHARED_LIB == 'ios_cli':
        ios_cli.check_args(module)

    if module.params['multiline_delimiter']:
        if len(module.params['multiline_delimiter']) != 1:
            module.fail_json(msg='multiline_delimiter value can only be a '
                             'single character')
    if module.params['force']:
        warnings.append('The force argument is deprecated as of Ansible 2.2, '
                        'please use match=none instead.  This argument will '
                        'be removed in the future')
Exemplo n.º 2
0
def check_args(module, warnings):
    if SHARED_LIB == 'ios_cli':
        ios_cli.check_args(module)