I am trying to invoke an ansible script that I have stored in an artifact directory inside the pack. It lives at the same level as actions and rules directory. How can I refer to the file from inside the rule?
Any help on this would be appreciated!
@hnanchahal See the Aws pack. You should use a scripts directory in the actions directory. E.g.: ./packname/actions/scripts. I’ve had good luck calling shell commands.
Another approach would be to use the ansible pack to run the script with your file from an Orqueata workflow.
Here’s a pretty old example that I’ve been successful recreating this in spirit.