>
> ...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
>>>>
>>>>
Resolution: I had failed to use the add_host module and the command was 
failing because it was being run on the wrong machine, namely, localhost.

Hopeful Request: Can someone please point to an example of Digital Ocean 
provisioning plus configuration with Ansible? (I've seen examples of one or 
the other, not both.)

Thanks,

G
 

-- 
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/d46c88d4-0b89-40fd-bc29-24fb64c0b82e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to