Generate or import GPG Key on Linux.
None.
TODO
- hosts: servers
roles:
- role: vkill.gpg_key
MIT / BSD
vkill [email protected]
© 2016
Ansible Role - GPG Key
Home Page: https://galaxy.ansible.com/vkill/gpg_key/
Generate or import GPG Key on Linux.
None.
TODO
- hosts: servers
roles:
- role: vkill.gpg_key
MIT / BSD
vkill [email protected]
© 2016
Before 3755315 (which I got merged by accident) this role would fail with the following error:
ansible-container_1 | TASK [vkill.gpg_key : Generate new secret key] *********************************
ansible-container_1 | fatal: [riemann]: FAILED! => {"changed": true, "cmd": ["gpg", "--batch", "--gen-key", "~/.gnupg/6f75024504f8009385c067c8673c144c/generate_script"], "delta": "0:00:01.227448", "end": "2017-04-13 21:02:55.993674", "failed": true, "rc": 2, "start": "2017-04-13 21:02:54.766226", "stderr": "gpg: Generating a basic OpenPGP key\ngpg: agent_genkey failed: Inappropriate ioctl for device\ngpg: key generation failed: Inappropriate ioctl for device\ngpg: done", "stdout": "", "stdout_lines": [], "warnings": []}
After it fails with:
ansible-container_1 | TASK [vkill.gpg_key : Generate new secret key] *********************************
ansible-container_1 | fatal: [riemann]: FAILED! => {"changed": true, "cmd": ["gpg", "--batch", "--gen-key", "~/.gnupg/25275f31df635f2618e559e291a86941/generate_script"], "delta": "0:00:01.134989", "end": "2017-04-13 23:17:21.399444", "failed": true, "rc": 2, "start": "2017-04-13 23:17:20.264455", "stderr": "gpg: Generating a basic OpenPGP key\ngpg: Sorry, we are in batchmode - can't get input", "stdout": "", "stdout_lines": [], "warnings": []}
I'll try to work on resolving this myself and will make a PR if I figure it out, but in the meanwhile I wanted to report it here, since you already merged the code which I think is a step toward resolving in. Here are some relevant links you may want to look over:
For what it's worth, I was not setting a passphrase.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.