New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide example/documentation for side_effect #1599

Open
zstyblik opened this Issue Nov 22, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@zstyblik

zstyblik commented Nov 22, 2018

Issue Type

  • Feature request

Molecule and Ansible details

Not applicable

Desired Behavior

Hello,

please, would it be possible to provide more documentation/examples of what side_effect is and how to use it. I know the feature exists, but I haven't really found any documentation on what it is, what good is it for or how to use it.

Thanks

@lwm

This comment has been minimized.

Member

lwm commented Dec 10, 2018

From https://molecule.readthedocs.io/en/latest/configuration.html#provisioner:

The side effect playbook executes actions which produce side effects to the instances(s). Intended to test HA failover scenarios or the like. It is not enabled by default. Add the following to the provisioner’s playbooks section to enable.

provisioner:
name: ansible
playbooks:
side_effect: side_effect.yml

Important

This feature should be considered experimental.

@lwm

This comment has been minimized.

Member

lwm commented Dec 10, 2018

Probably worth to add a note to https://etherpad.openstack.org/p/ansible-molecule which is a brain dump for how we can improve the documentation right now. This is definitely not easy to find and we should change that.

@zstyblik

This comment has been minimized.

zstyblik commented Dec 10, 2018

@lwm, I appreciate your reply. I've read documentation. I even tried to dig into provisioner related code.

I'm "begging", for the lack of better word, for some example of "do this, do that, voilà you get banana". What kind of "code" should go inside side_effect.yml? Any real world example? Surely, somebody had to use it at least once.

I mean no offense. If no such thing is possible eg. it's experimental and we don't know yet, then it's not possible. I'm cool with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment