Run command on the Ansible host
Is it possible to run commands on the Ansible host?
My scenario is that I want to take a checkout from a git server that is
hosted internally (and isn't accessible outside the company firewall).
Then I want to upload the checkout (tarballed) to the production server
(hosted externally).
At the moment, I'm looking at running a script that does the checkout,
tarballs it, and then runs the deployment script - but if I could
integrate this into Ansible that would be preferable.
No comments:
Post a Comment