Skip to content

Instantly share code, notes, and snippets.

@patrickheeney
Created February 1, 2014 18:16
Show Gist options
  • Save patrickheeney/8756160 to your computer and use it in GitHub Desktop.
Save patrickheeney/8756160 to your computer and use it in GitHub Desktop.
- name: debian | get the key
apt_key: >
url=http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
id=rabbitmq-signing-key-public
state=present
sudo: yes
TASK: [rabbitmq | debian | get the key] ***************************************
failed: [localhost] => {"failed": true, "item": "", "parsed": false}
invalid output was: SUDO-SUCCESS-tkpjshwqvqbbqxnkjazmnbghwrhcxdzw
Traceback (most recent call last):
File "/root/.ansible/tmp/ansible-1391267667.87-142363909237871/apt_key", line 1267, in <module>
main()
File "/root/.ansible/tmp/ansible-1391267667.87-142363909237871/apt_key", line 197, in main
module.fail_json("Invalid key_id")
TypeError: fail_json() takes exactly 1 argument (2 given)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment