Hi,
Having just provisioned a Digital Ocean droplet, in my next pre_task, I
proceed to attempt to upgrade apt packages:
apt: upgrade=full update_cache=yes
...using this command form...
ansible-playbook -i hosts basic.yml -vvvv
...I obtain the following error:
failed: [127.0.0.1] => {"cmd": "apt-get update && apt-get install
python-apt -y -q", "failed": true, "rc": 127}
stderr: /bin/sh: apt-get: command not found
msg: /bin/sh: apt-get: command not found
Shelling into the newly-provisioned droplet as root, however, I am able to
execute apt-get update normally.
Any thoughts?
Thanks,
Gallagher
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/1196722a-d0cb-48fd-8c0c-3034e87694d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.