jgrowl/ansible-playbook-deluge — pull request #1 by tphummel (2013-10-29 02:24:52+00:00)
Title: use sudo

was getting a problem adding ppa when i wasn't using sudo:

TASK: [Add deluge ppa key] ****************************************************
failed: [76.74.177.217] => {"cmd": ["apt-key", "adv", "--recv-keys", "--keyserver", "keyserver.ubuntu.com", "8EED8FB4A8E6DA6DFDF0192BC5E6A5ED249AD24C"], "failed": true, "item": "", "rc": 2}
stderr: gpg: requesting key 249AD24C from hkp server keyserver.ubuntu.com
gpg: no writable keyring found: eof
gpg: error reading `[stream]': general error
gpg: Total number processed: 0

stdout: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.VOUTLkievN --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-keys --keyserver keyserver.ubuntu.com 8EED8FB4A8E6DA6DFDF0192BC5E6A5ED249AD24C

msg: gpg: requesting key 249AD24C from hkp server keyserver.ubuntu.com
gpg: no writable keyring found: eof
gpg: error reading `[stream]': general error
gpg: Total number processed: 0

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/tom/main.retry

76.74.177.217 : ok=1 changed=0 unreachable=0 failed=1