You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am installing the most basic case on Ubuntu 20.04:
- hosts: servers
roles:
- ngetchell.vscode
Verbose output:
TASK [ngetchell.vscode : set gpg key] ******************************************************************************************************
task path: /home/static/workspace/linux-developer-playbook/roles/ngetchell.vscode/tasks/os_Debian.yml:3
[WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ install_vscode }}
Using module file /home/static/.local/lib/python3.8/site-packages/ansible/modules/apt_key.py
Pipelining is enabled.
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: static
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 && sleep 0'
fatal: [127.0.0.1]: FAILED! => {
"changed": false,
"cmd": "/usr/bin/apt-key add -",
"invocation": {
"module_args": {
"data": null,
"file": null,
"id": null,
"key": null,
"keyring": null,
"keyserver": null,
"state": "present",
"url": "https://packages.microsoft.com/keys/microsoft.asc",
"validate_certs": true
}
},
"msg": "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).\nE: This command can only be used by root.",
"rc": 1,
"stderr": "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).\nE: This command can only be used by root.\n",
"stderr_lines": [
"Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).",
"E: This command can only be used by root."
],
"stdout": "",
"stdout_lines": []
}
The text was updated successfully, but these errors were encountered:
I am installing the most basic case on Ubuntu 20.04:
Verbose output:
The text was updated successfully, but these errors were encountered: