'removes the list of roles passed as arguments from the local system.'

def execute_remove(self):

    if (len(self.args) == 0):
        raise AnsibleOptionsError('-    you    must    specify    at    least    one    role    to    remove.')
    for role_name in self.args:
        role = GalaxyRole(self.galaxy, role_name)
        try:
            if role.remove():
                display.display(('-    successfully    removed    %s' % role_name))
            else:
                display.display(('-    %s    is    not    installed,    skipping.' % role_name))
        except Exception as e:
            raise AnsibleError(('Failed    to    remove    role    %s:    %s' % (role_name, str(e))))
    return 0
