Stop deleting-and-creating RabbitMQ account on deploy
The `force` option creates and recreates the user which means on any deploy it kills *all* AMQP traffic on all agents. This updates it you use `update_password` which instead will just update the password every single run, which shouldn't kill the connectivity when we run playbooks. Change-Id: I1878f702022872190952604caff640bfe6c2ccc1
This commit is contained in:
parent
c67e418828
commit
c482ead999
@ -37,12 +37,12 @@
|
|||||||
rabbitmq_user:
|
rabbitmq_user:
|
||||||
user: "{{ _oslomsg_rpc_userid }}"
|
user: "{{ _oslomsg_rpc_userid }}"
|
||||||
password: "{{ _oslomsg_rpc_password }}"
|
password: "{{ _oslomsg_rpc_password }}"
|
||||||
|
update_password: always
|
||||||
vhost: "{{ _oslomsg_rpc_vhost }}"
|
vhost: "{{ _oslomsg_rpc_vhost }}"
|
||||||
configure_priv: ".*"
|
configure_priv: ".*"
|
||||||
read_priv: ".*"
|
read_priv: ".*"
|
||||||
write_priv: ".*"
|
write_priv: ".*"
|
||||||
state: "present"
|
state: "present"
|
||||||
force: true
|
|
||||||
no_log: true
|
no_log: true
|
||||||
|
|
||||||
- name: Setup Notify MQ Service (RabbitMQ)
|
- name: Setup Notify MQ Service (RabbitMQ)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user