This patch removes the profile_tasks callback so that we can use
the callback provided by upstream Ansible (which has been updated
to the callback 2.0 spec).
Change-Id: I2f5160bd3852615864310cff3c208a469d367e92
The last patch for the debug collector fixed the jinja templating issue,
but it didn't keep the filter that checks the `action` attribute for each
task. This patch puts the filter back in.
Change-Id: I86835d272f037fee5545a888b8a6f67869f5ef66
The debug_message_collector callback wasn't getting the output of templated
debug messages properly. This patch ensures that the user gets rendered
templates in the debug message recap instead of Jinja2 code.
Closes-Bug: 1647487
Change-Id: I5bfc3b216497250ba28952dd0f5a2b46eb2a7cf2
This patch adds a callback handler for displaying debug messages at the end of
a playbook run. This is helpful in situations where a debug message might be
lost in the middle of the Ansible output while a playbook runs.
You can view the output from a small example playbook here:
https://gist.github.com/major/9583c97e335262228c2a9ede50d86458
Change-Id: I962b586751069a16adb073d05b33d310e0afc5af
Whle the human readable logging functionality is nice for debug purposes
it has little to no value in general deployments and in slows Ansible
runs down considerably. In my opinion, this plugin should be removed.
If this is a desirable feature for an individual deployer they can pull
the plugin into their stack outside of OSA.
Change-Id: Ie07eefe8ffe2036815bc89d129862f105b9ff566
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This change implements the human_log callback plugin within our plugins
repo. A v1/2 shim has been added as the base entry point to ensure the
callback plugin, if whitelisted, supports both Ansible V1 and V2.
Change-Id: Idad2623eeb7f73e20fe92d9e18cd99e45bc4b64f
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
The standard Ansible names for the plugins folders [1] are singular.
This patch renames our plural names to singular names so that when
the plugins are downloaded into a default location there is no further
configuration required.
[1] https://github.com/ansible/ansible/blob/devel/lib/ansible/constants.py
Change-Id: Ib965750f267d11287a6196e2544c3a014a3e2029