Commit f33eda96 by John Jarvis

forcing rabbit to refresh on re-provision

parent 6746fadb
...@@ -15,6 +15,9 @@ RABBITMQ_CLUSTERED: !!null ...@@ -15,6 +15,9 @@ RABBITMQ_CLUSTERED: !!null
# Internal role variables below this line # Internal role variables below this line
# option to force deletion of the mnesia dir
rabbitmq_refresh: false
rabbitmq_apt_key: "http://www.rabbitmq.com/rabbitmq-signing-key-public.asc" rabbitmq_apt_key: "http://www.rabbitmq.com/rabbitmq-signing-key-public.asc"
rabbitmq_repository: "deb http://www.rabbitmq.com/debian/ testing main" rabbitmq_repository: "deb http://www.rabbitmq.com/debian/ testing main"
rabbitmq_pkg: "rabbitmq-server" rabbitmq_pkg: "rabbitmq-server"
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
# that can conflict with the clustering information. # that can conflict with the clustering information.
- name: rabbitmq | remove mnesia configuration - name: rabbitmq | remove mnesia configuration
file: path={{rabbitmq_mnesia_folder}} state=absent file: path={{rabbitmq_mnesia_folder}} state=absent
when: erlang_cookie.changed or cluster_configuration.changed when: erlang_cookie.changed or cluster_configuration.changed or rabbitmq_refresh
- name: rabbitmq | start rabbit nodes - name: rabbitmq | start rabbit nodes
service: name=rabbitmq-server state=restarted service: name=rabbitmq-server state=restarted
......
...@@ -26,4 +26,6 @@ xserver_version: $xserver_version ...@@ -26,4 +26,6 @@ xserver_version: $xserver_version
ora_version: $ora_version ora_version: $ora_version
ease_version: $ease_version ease_version: $ease_version
rabbitmq_ip: "127.0.0.1"
rabbitmq_refresh: True
EOF EOF
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment