mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Initial Tower module integration test support.
This commit is contained in:
18
test/integration/cloud-config-tower.cfg.template
Normal file
18
test/integration/cloud-config-tower.cfg.template
Normal file
@@ -0,0 +1,18 @@
|
||||
# This is the configuration template for ansible-test Tower integration tests.
|
||||
#
|
||||
# You do not need this template if you are:
|
||||
#
|
||||
# 1) Running integration tests without using ansible-test.
|
||||
# 2) Using the automatically provisioned Tower credentials in ansible-test.
|
||||
#
|
||||
# If you do not want to use the automatically provisioned temporary Tower credentials,
|
||||
# fill in the @VAR placeholders below and save this file without the .template extension.
|
||||
# This will cause ansible-test to use the given configuration instead of temporary credentials.
|
||||
#
|
||||
# NOTE: Automatic provisioning of Tower credentials requires an ansible-core-ci API key.
|
||||
|
||||
[general]
|
||||
version=@VERSION
|
||||
host=@HOST
|
||||
username=@USERNAME
|
||||
password=@PASSWORD
|
||||
2
test/integration/targets/tower_organization/aliases
Normal file
2
test/integration/targets/tower_organization/aliases
Normal file
@@ -0,0 +1,2 @@
|
||||
cloud/tower
|
||||
posix/ci/cloud/group4/tower
|
||||
@@ -0,0 +1,3 @@
|
||||
- name: Make sure the default Default organization exists
|
||||
tower_organization:
|
||||
name: Default
|
||||
2
test/integration/targets/tower_team/aliases
Normal file
2
test/integration/targets/tower_team/aliases
Normal file
@@ -0,0 +1,2 @@
|
||||
cloud/tower
|
||||
posix/ci/cloud/group4/tower
|
||||
4
test/integration/targets/tower_team/tasks/main.yml
Normal file
4
test/integration/targets/tower_team/tasks/main.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
- name: Create a Tower team
|
||||
tower_team:
|
||||
name: Test Team
|
||||
organization: Default
|
||||
Reference in New Issue
Block a user