1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix tower_project integration test.

Changes required due to https://github.com/ansible/ansible/pull/45158
This commit is contained in:
Matt Clay 2018-09-07 18:45:15 -07:00
parent 6c67674eab
commit 75d1cb3b05

View file

@ -17,21 +17,16 @@
variables: variables:
ansible_connection: local ansible_connection: local
- name: Create a private key (which will not be used) - name: create an unused SSH / Machine credential
copy: tower_credential:
content: | name: dummy
kind: ssh
ssh_key_data: |
-----BEGIN EC PRIVATE KEY----- -----BEGIN EC PRIVATE KEY-----
MHcCAQEEIIUl6R1xgzR6siIUArz4XBPtGZ09aetma2eWf1v3uYymoAoGCCqGSM49 MHcCAQEEIIUl6R1xgzR6siIUArz4XBPtGZ09aetma2eWf1v3uYymoAoGCCqGSM49
AwEHoUQDQgAENJNjgeZDAh/+BY860s0yqrLDprXJflY0GvHIr7lX3ieCtrzOMCVU AwEHoUQDQgAENJNjgeZDAh/+BY860s0yqrLDprXJflY0GvHIr7lX3ieCtrzOMCVU
QWzw35pc5tvuP34SSi0ZE1E+7cVMDDOF3w== QWzw35pc5tvuP34SSi0ZE1E+7cVMDDOF3w==
-----END EC PRIVATE KEY----- -----END EC PRIVATE KEY-----
dest: "{{ output_dir }}/tower_project_unused_key"
- name: create an unused SSH / Machine credential
tower_credential:
name: dummy
kind: ssh
ssh_key_data: "{{ output_dir }}/tower_project_unused_key"
organization: Default organization: Default
- name: Disable bubblewrap - name: Disable bubblewrap