I'm running an ansible playbook on my machine, and every task completes successfully except for several steps that involve unpacking various zip and tar.gz archives into /usr/local/lib
. Here's an example of such an error message:
TASK: [sd_dev | Unpack /usr/local/lib/eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz] ***
failed: [localhost] => {"failed": true}
msg: dest '/usr/local/lib' must be an existing dir
...ignoring
I can't figure out why this happens because manually running the command works fine. Is it possible this is related to sudo
permissions (I was prompted for my sudo password when running the playbook). Any ideas what could be going wrong?