mostly includes renaming non-syntax references to tower

This commit is contained in:
Seth Foster
2021-05-03 17:20:24 -04:00
parent 9f4172ce7b
commit 82c5803e59
92 changed files with 410 additions and 408 deletions

View File

@@ -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