mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 23:37:39 -02:30
mostly includes renaming non-syntax references to tower
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
---
|
||||
- name: Generate names
|
||||
set_fact:
|
||||
team_name: "AWX-Collection-tests-tower_team-team-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
||||
team_name: "AWX-Collection-tests-team-team-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
||||
|
||||
- name: Attempt to add a Tower team to a non-existant Organization
|
||||
- name: Attempt to add a team to a non-existant Organization
|
||||
team:
|
||||
name: Test Team
|
||||
organization: Missing_Organization
|
||||
@@ -11,7 +11,7 @@
|
||||
register: result
|
||||
ignore_errors: true
|
||||
|
||||
- name: Assert a meaningful error was provided for the failed Tower team creation
|
||||
- name: Assert a meaningful error was provided for the failed team creation
|
||||
assert:
|
||||
that:
|
||||
- "result is failed"
|
||||
@@ -19,7 +19,7 @@
|
||||
- "'Missing_Organization' in result.msg"
|
||||
- "result.total_results == 0"
|
||||
|
||||
- name: Create a Tower team
|
||||
- name: Create a team
|
||||
team:
|
||||
name: "{{ team_name }}"
|
||||
organization: Default
|
||||
@@ -29,7 +29,7 @@
|
||||
that:
|
||||
- "result is changed"
|
||||
|
||||
- name: Delete a Tower team
|
||||
- name: Delete a team
|
||||
team:
|
||||
name: "{{ team_name }}"
|
||||
organization: Default
|
||||
|
||||
Reference in New Issue
Block a user