From 75d1cb3b05f90d7c6ae3c0655b33f27c71a1395a Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 7 Sep 2018 18:45:15 -0700 Subject: [PATCH] Fix tower_project integration test. Changes required due to https://github.com/ansible/ansible/pull/45158 --- .../tower_project/tasks/create_project_dir.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/test/integration/targets/tower_project/tasks/create_project_dir.yml b/test/integration/targets/tower_project/tasks/create_project_dir.yml index 0777ad29b5..47274f008c 100644 --- a/test/integration/targets/tower_project/tasks/create_project_dir.yml +++ b/test/integration/targets/tower_project/tasks/create_project_dir.yml @@ -17,21 +17,16 @@ variables: ansible_connection: local -- name: Create a private key (which will not be used) - copy: - content: | +- name: create an unused SSH / Machine credential + tower_credential: + name: dummy + kind: ssh + ssh_key_data: | -----BEGIN EC PRIVATE KEY----- MHcCAQEEIIUl6R1xgzR6siIUArz4XBPtGZ09aetma2eWf1v3uYymoAoGCCqGSM49 AwEHoUQDQgAENJNjgeZDAh/+BY860s0yqrLDprXJflY0GvHIr7lX3ieCtrzOMCVU QWzw35pc5tvuP34SSi0ZE1E+7cVMDDOF3w== -----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 - name: Disable bubblewrap