@staticmethod
def _get_ansible_cmd(inventory_file, playbook_file, extra_vars_dict=None):
    """
        Return process args list for ansible-playbook run.
        """
    ansible_command = ['ansible-playbook', '-vv', '--fork', '50',
        '--timeout', '60', '-i', inventory_file, playbook_file]
    if extra_vars_dict:
        extra_vars = ''
        for k, v in extra_vars_dict.items():
            if type(v) == str:
                extra_vars += '{}="{}" '.format(k, v)
            else:
                extra_vars += '{}="{}" '.format(k, v)
        extra_vars = extra_vars[:-1]
        ansible_command.insert(-1, '--extra-vars')
        ansible_command.insert(-1, extra_vars)
    return ansible_command
