'Delete a role from Ansible Galaxy.'

def execute_delete(self):

    if (len(self.args) < 2):
        raise AnsibleError('Missing    one    or    more    arguments.    Expected:    github_user    github_repo')
    github_repo = self.args.pop()
    github_user = self.args.pop()
    resp = self.api.delete_role(github_user, github_repo)
    if (len(resp['deleted_roles']) > 1):
        display.display('Deleted    the    following    roles:')
        display.display('ID                    User                                                Name')
        display.display('------    ---------------    ----------')
        for role in resp['deleted_roles']:
            display.display(('%-8s    %-15s    %s' % (role.id, role.namespace, role.name)))
    display.display(resp['status'])
    return True
