mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 00:37:37 -02:30
Update integration test playbooks to work with most current Collections modules
This commit is contained in:
@@ -15,16 +15,17 @@
|
||||
variables:
|
||||
ansible_connection: local
|
||||
|
||||
- name: create an unused SSH / Machine credential
|
||||
- name: Create an unused SSH / Machine credential
|
||||
credential:
|
||||
name: dummy
|
||||
kind: ssh
|
||||
ssh_key_data: |
|
||||
-----BEGIN EC PRIVATE KEY-----
|
||||
MHcCAQEEIIUl6R1xgzR6siIUArz4XBPtGZ09aetma2eWf1v3uYymoAoGCCqGSM49
|
||||
AwEHoUQDQgAENJNjgeZDAh/+BY860s0yqrLDprXJflY0GvHIr7lX3ieCtrzOMCVU
|
||||
QWzw35pc5tvuP34SSi0ZE1E+7cVMDDOF3w==
|
||||
-----END EC PRIVATE KEY-----
|
||||
credential_type: Machine
|
||||
inputs:
|
||||
ssh_key_data: |
|
||||
-----BEGIN EC PRIVATE KEY-----
|
||||
MHcCAQEEIIUl6R1xgzR6siIUArz4XBPtGZ09aetma2eWf1v3uYymoAoGCCqGSM49
|
||||
AwEHoUQDQgAENJNjgeZDAh/+BY860s0yqrLDprXJflY0GvHIr7lX3ieCtrzOMCVU
|
||||
QWzw35pc5tvuP34SSi0ZE1E+7cVMDDOF3w==
|
||||
-----END EC PRIVATE KEY-----
|
||||
organization: Default
|
||||
|
||||
- block:
|
||||
@@ -51,5 +52,5 @@
|
||||
- name: Delete dummy credential
|
||||
credential:
|
||||
name: dummy
|
||||
kind: ssh
|
||||
credential_type: Machine
|
||||
state: absent
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
---
|
||||
- name: generate random string for project
|
||||
- name: Generate random string for project
|
||||
set_fact:
|
||||
rand_string: "{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
||||
- name: Generate manual project dir name
|
||||
|
||||
- name: Generate manual project name
|
||||
set_fact:
|
||||
project_name: "manual project {{ rand_string }}"
|
||||
project_name: "Manual_Project_{{ rand_string }}"
|
||||
|
||||
- name: Generate manual project dir name
|
||||
set_fact:
|
||||
project_dir_name: "proj_{{ rand_string }}"
|
||||
|
||||
- name: create a project directory for manual project
|
||||
- name: Create a project directory for manual project
|
||||
import_tasks: create_project_dir.yml
|
||||
|
||||
- name: Create a manual project
|
||||
|
||||
Reference in New Issue
Block a user