mirror of https://github.com/ansible/ansible.git
Backport/2.6/48580: Do not require TTY for 'apt-key' operations (#48888)
* Do not require TTY for 'apt-key' operations (#48580) The 'gpg' command supports the '--no-tty' option, which disables any use of a TTY during its execution. This parameter is sometimes required for non-interactive operation to avoid any questions for the user. The 'apt-key adv' command can pass additional parameters to the underlying 'gpg' command. This patch adds the '--no-tty' option to avoid issues with APT key imports when Ansible pipelining active, which disables the use of a dedicated TTY. (cherry picked from commitpull/49215/headc7e2226035) * Add changelog fragment about 'apt_key' no TTY fix (cherry picked from commit7033e1dfc0)
parent
f936309d93
commit
687df97b7b
@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- apt_key - Disable TTY requirement in GnuPG for the module to work correctly
|
||||
when SSH pipelining is enabled (https://github.com/ansible/ansible/pull/48580)
|
||||
Loading…
Reference in New Issue