Hey Guys,
When i try to provision on my local virtual machine, the task “Add Nginx APT key” return this error and I don’t understand why
TASK [nginx : Add Nginx APT key] ***********************************************
fatal: [default]: FAILED! => {“changed”: false, “cmd”: “/usr/bin/apt-key adv --no-tty --keyserver https://nginx.org/keys/nginx_signing.key --recv ABF5BD827BD9BF62”, “msg”: “Error fetching key ABF5BD827BD9BF62 from keyserver: https://nginx.org/keys/nginx_signing.key”, “rc”: 2, “stderr”: “Warning: apt-key output should not be parsed (stdout is not a terminal)\ngpg: keyserver receive failed: General error\n”, “stderr_lines”: [“Warning: apt-key output should not be parsed (stdout is not a terminal)”, “gpg: keyserver receive failed: General error”], “stdout”: “Executing: /tmp/apt-key-gpghome.VLVIKFTtJi/gpg.1.sh --no-tty --keyserver https://nginx.org/keys/nginx_signing.key --recv ABF5BD827BD9BF62\n”, “stdout_lines”: [“Executing: /tmp/apt-key-gpghome.VLVIKFTtJi/gpg.1.sh --no-tty --keyserver https://nginx.org/keys/nginx_signing.key --recv ABF5BD827BD9BF62”]}
How can i fix this?