Passing parammeters to ansible-playbook in a shellscript
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
#!/bin/bash | |
# This is a small test to check how to pass some parameters with | |
# special characters (!) to avoid shell calls, to ansible-playbook. | |
_except='!dell10,!dell19' | |
ansible-playbook -l "${_except}" bootstrap.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment