Created
August 23, 2018 00:12
-
-
Save roolo/7d0c0c008f8c2468bc52042d49e94683 to your computer and use it in GitHub Desktop.
Ansible — machine alias
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansible-playbook -v --inventory inventory playbook.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
R1 ansible_host=18.16.61.12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: R1 | |
tasks: | |
- command: date |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment