Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt-key output should not be parsed (stdout is not a terminal) #44

Open
carlo4002 opened this issue Feb 22, 2019 · 1 comment
Open

apt-key output should not be parsed (stdout is not a terminal) #44

carlo4002 opened this issue Feb 22, 2019 · 1 comment

Comments

@carlo4002
Copy link

Hello

In this line

line19

adding the key for installing telegraf, did you guys get the next error ?
FAILED! => {"changed": false, "cmd": "/usr/bin/apt-key adv --keyserver https://repos.influxdata.com/influxdb.key --recv None", "msg": "Error fetching key None from keyserver: https://repos.influxdata.com/influxdb.key", "rc": 2, "stderr": "Warning: apt-key output should not be parsed (stdout is not a terminal)\ngpg: \"None\" not a key ID: skipping\n", "stderr_lines": ["Warning: apt-key output should not be parsed (stdout is not a terminal)", "gpg: \"None\" not a key ID: skipping"], "stdout": "Executing: /tmp/apt-key-gpghome.yw4v6KFcxF/gpg.1.sh --keyserver https://repos.influxdata.com/influxdb.key --recv None\n", "stdout_lines": ["Executing: /tmp/apt-key-gpghome.yw4v6KFcxF/gpg.1.sh --keyserver https://repos.influxdata.com/influxdb.key --recv None"]}

@carlo4002
Copy link
Author

I got to use the option

apt_key:
data: |
-----BEGIN PGP PUBLIC KEY BLOCK-----

Which is pretty disgusting 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant