Skip to content
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

Configurable mirroring #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

alsyia
Copy link

@alsyia alsyia commented Jan 15, 2020

Hi,

Another PR, this time about mirroring. I would like to be able to configure how my queue are mirrored, so I defined the policy in a variable. Also, I used the Ansible rabbitmq_policy resource instead of a rabbitmqctl command. The default value matches the policy you had except I changed the name to be more neutral (so that users can modify the policy content without changing its name, meaning Ansible will update it instead of replacing it).

I don't think this is a breaking change as the new policy as the same behaviour, but what do you think?

Also, users can override the policy to an empty var if they don't want mirroring at all.

Wenceslas des Déserts added 3 commits January 14, 2020 18:04
Users of this role can change the policy content without changing its name, which means Ansible will simply update it instead of creating a new, potentially conflicting policy
Allow to disable mirroring
jpiron added a commit to jpiron/ansible-role-rabbitmq that referenced this pull request Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant