Ansible fails with /bin/sh: 1: /usr/bin/python: not found

I’m running into an error I’ve never seen before. Here is the command and the error: $ ansible-playbook create_api.yml PLAY [straw] ****************************************************************** GATHERING FACTS *************************************************************** failed: [104.55.47.224] => {“failed”: true, “parsed”: false} /bin/sh: 1: /usr/bin/python: not found TASK: [typical | install required system packages] ***************************** FATAL: no hosts matched or all hosts have already failed … Read more

Safely limiting Ansible playbooks to a single machine?

I’m using Ansible for some simple user management tasks with a small group of computers. Currently, I have my playbooks set to hosts: all and my hosts file is just a single group with all machines listed: # file: hosts [office] imac-1.local imac-2.local imac-3.local I’ve found myself frequently having to target a single machine. The … Read more