Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jonathanhle/9cbdfdf575e62e56f5abfe8353d030d5 to your computer and use it in GitHub Desktop.
Save jonathanhle/9cbdfdf575e62e56f5abfe8353d030d5 to your computer and use it in GitHub Desktop.
Ansible Exclude Pattern with ec2.py inventory
ansible 'security_group_sshonly:!tag_aws_autoscaling_groupName_gumgum' -m shell -a 'uptime' --list-hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment