Hi, how about doing something like this:
1. wrap the actual playbook run 2. run only thru wrapper!! 3. tag in version control You might want to swap steps 2 and 3 depending on your requirements. Basically it resembles a rather basic CI environment where any build (regardless of outcome) triggers a tag in your preferred SCM. regards, Martin On Wed, Apr 29, 2015 at 6:14 PM Mark Felder <[email protected]> wrote: > Hello, > > I'm working with ansible in some environments rather sensitive to > security/auditing and we have some significant controls designed around > playbooks working their way up to QA/Prod environments, but our test > environment of course needs to have some looser controls while we work > the kinks out of our playbooks. > > I'm looking for a way to not only log the playbook run itself, but the > entire contents of the playbook so if an event somehow occurs and > something unsavory works its way into the dev environment we can see > what the playbook contents were at the exact time of the playbook run. > > I may also consider settling for good, readable command line output of > exactly what was run; the playbook stdout is simply not sufficient. > > Does anyone have any suggestions on how I could achieve this? > > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/1430322985.4059917.260237261.6A7E2F3D%40webmail.messagingengine.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAK1mKERLhnS6WaQad%3Dqy1FehMTjvxMHJ4TvebDVYkE3Jq%2BUXPg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
