Created
January 5, 2017 15:06
-
-
Save vascoosx/7730492b9120b90c0e3e998e8209db62 to your computer and use it in GitHub Desktop.
limit by multiple patterns
This file contains hidden or 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
#!/usr/bin/env bash | |
ansible-playbook -i inventory playbooks/test_single.yml --limit '!*apattern*:!special:*anotherpattern' --list-hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
!
is for negation