mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Overhaul ansible-test cloud test plugins. (#53044)
This commit is contained in:
@@ -17,20 +17,20 @@
|
||||
|
||||
- name: Update the project (to clone the git repo)
|
||||
uri:
|
||||
url: "https://{{ lookup('env', 'TOWER_HOST') }}/api/v2/projects/{{ result.id }}/update/"
|
||||
url: "https://{{ tower_host }}/api/v2/projects/{{ result.id }}/update/"
|
||||
method: POST
|
||||
user: "{{ lookup('env', 'TOWER_USERNAME') }}"
|
||||
password: "{{ lookup('env', 'TOWER_PASSWORD') }}"
|
||||
user: "{{ tower_username }}"
|
||||
password: "{{ tower_password }}"
|
||||
validate_certs: false
|
||||
status_code: 202
|
||||
force_basic_auth: true
|
||||
|
||||
- name: Wait for the project to be status=successful
|
||||
uri:
|
||||
url: "https://{{ lookup('env', 'TOWER_HOST') }}/api/v2/projects/{{ result.id }}/"
|
||||
url: "https://{{ tower_host }}/api/v2/projects/{{ result.id }}/"
|
||||
method: GET
|
||||
user: "{{ lookup('env', 'TOWER_USERNAME') }}"
|
||||
password: "{{ lookup('env', 'TOWER_PASSWORD') }}"
|
||||
user: "{{ tower_username }}"
|
||||
password: "{{ tower_password }}"
|
||||
validate_certs: false
|
||||
force_basic_auth: true
|
||||
return_content: true
|
||||
|
||||
Reference in New Issue
Block a user