From d77dc638fd5ea5d2735a0b9a57e314fddf499f42 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Thu, 29 Aug 2024 07:55:38 +1000 Subject: [PATCH] Expand connection plugins used in CI (#577) Expands the testing matrix of the Windows connection plugins used in CI to cover all the supported connections of Windows. --- tests/integration/targets/win_credential/tasks/main.yml | 2 +- tests/integration/targets/win_credential/tasks/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/targets/win_credential/tasks/main.yml b/tests/integration/targets/win_credential/tasks/main.yml index 1ec3bbb3..ee05bf93 100644 --- a/tests/integration/targets/win_credential/tasks/main.yml +++ b/tests/integration/targets/win_credential/tasks/main.yml @@ -20,7 +20,7 @@ ansible_become: True ansible_become_method: runas ansible_become_user: '{{ ansible_user }}' - ansible_become_pass: '{{ ansible_password }}' + ansible_become_pass: '{{ ansible_password | default(ansible_test_connection_password) }}' - name: ensure test credentials are removed before testing win_credential: diff --git a/tests/integration/targets/win_credential/tasks/tests.yml b/tests/integration/targets/win_credential/tasks/tests.yml index cec2cf02..4524b450 100644 --- a/tests/integration/targets/win_credential/tasks/tests.yml +++ b/tests/integration/targets/win_credential/tasks/tests.yml @@ -22,7 +22,7 @@ ansible_become: True ansible_become_method: runas ansible_become_user: '{{ ansible_user }}' - ansible_become_pass: '{{ ansible_password }}' + ansible_become_pass: '{{ ansible_password | default(ansible_test_connection_password) }}' - name: get result of create domain user credential (check mode) test_cred_facts: