Skip to content

Instantly share code, notes, and snippets.

@brk3
Last active December 15, 2020 11:50
Show Gist options
  • Save brk3/fc49456a3f401c9f09ea0f3189d65c1f to your computer and use it in GitHub Desktop.
Save brk3/fc49456a3f401c9f09ea0f3189d65c1f to your computer and use it in GitHub Desktop.
---
# ansible-playbook -i localhost, hello-ansible.yml --connection=local
- hosts: all
tasks:
- shell:
cmd:
hostname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment