Last active
November 27, 2020 19:51
-
-
Save dhilst/cc0da61f35fb67985622eb9580c2b68a to your computer and use it in GitHub Desktop.
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/sh | |
# | |
# Wrapper over ansible include tasks to make simple executable playbooks | |
# example https://gist.github.com/e39284344e3fd29b3202571678b6a343 | |
task="${PWD}/$1" | |
ansible localhost -m include_tasks -a file=$task -c local -i /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment