Skip to content

Instantly share code, notes, and snippets.

@flokli
Last active August 21, 2020 09:40
Show Gist options
  • Save flokli/53b470976cef77c7d328d1304c1d050c to your computer and use it in GitHub Desktop.
Save flokli/53b470976cef77c7d328d1304c1d050c to your computer and use it in GitHub Desktop.
ansible-playbook -i inventory.ini foobar.yml
- name: This doesn't work
hosts: localhost
connection: local
gather_facts: no
become: no
tasks:
- local_action: >
shell
echo hey
[localhost]
localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment