Skip to content

Instantly share code, notes, and snippets.

@roolo
Created August 23, 2018 00:12
Show Gist options
  • Save roolo/7d0c0c008f8c2468bc52042d49e94683 to your computer and use it in GitHub Desktop.
Save roolo/7d0c0c008f8c2468bc52042d49e94683 to your computer and use it in GitHub Desktop.
Ansible — machine alias
ansible-playbook -v --inventory inventory playbook.yaml
R1 ansible_host=18.16.61.12
---
- hosts: R1
tasks:
- command: date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment