diff --git a/test/integration/targets/ansible-galaxy-collection/library/setup_collections.py b/test/integration/targets/ansible-galaxy-collection/library/setup_collections.py index adefba05750..58ec9b2a514 100644 --- a/test/integration/targets/ansible-galaxy-collection/library/setup_collections.py +++ b/test/integration/targets/ansible-galaxy-collection/library/setup_collections.py @@ -182,8 +182,6 @@ def sign_manifest(signature_path, manifest_path, module, collection_setup_result "--pinentry-mode", "loopback", "--yes", - "--passphrase", - "SECRET", "--homedir", module.params['signature_dir'], "--detach-sign", diff --git a/test/integration/targets/ansible-galaxy-collection/tasks/setup_gpg.yml b/test/integration/targets/ansible-galaxy-collection/tasks/setup_gpg.yml index 93d532f673a..ddc4d8a6b03 100644 --- a/test/integration/targets/ansible-galaxy-collection/tasks/setup_gpg.yml +++ b/test/integration/targets/ansible-galaxy-collection/tasks/setup_gpg.yml @@ -12,7 +12,7 @@ register: user - name: generate key for user with gpg - command: "gpg --no-tty --homedir {{ gpg_homedir }} --passphrase SECRET --pinentry-mode loopback --quick-gen-key {{ user.stdout }} default default" + command: "gpg --no-tty --homedir {{ gpg_homedir }} --passphrase '' --pinentry-mode loopback --quick-gen-key {{ user.stdout }} default default" - name: list gpg keys for user command: "gpg --no-tty --homedir {{ gpg_homedir }} --list-keys {{ user.stdout }}"