Merge pull request #6370 from AlanCoding/convert_tower_role

Initial conversion of tower_role

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2020-03-23 18:34:32 +00:00
committed by GitHub
4 changed files with 132 additions and 67 deletions

View File

@@ -50,6 +50,18 @@
that:
- "result is changed"
- name: Add Joe to workflow execute role, no-op
tower_role:
user: "{{ username }}"
role: execute
workflow: test-role-workflow
state: present
register: result
- assert:
that:
- "result is not changed"
- name: Delete a User
tower_user:
username: "{{ username }}"