Skip to content

Instantly share code, notes, and snippets.

@iamgini
Last active June 11, 2018 06:37
Show Gist options
  • Save iamgini/e438cc90d9d23b26fae6fcbba5531022 to your computer and use it in GitHub Desktop.
Save iamgini/e438cc90d9d23b26fae6fcbba5531022 to your computer and use it in GitHub Desktop.
[root@ansible-box ansible]# ansible all --list-hosts
hosts (4):
db101.techbeatly.com
localhost
servera.techbeatly.coms
serverb.techbeatly.com
[root@ansible-box ansible]# ansible intranetweb --list-hosts
hosts (2):
servera.techbeatly.com
serverb.techbeatly.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment